Update web-platform-tests to revision 2b66b8b24b727c7490bf6091dd8a6a551642720b

This commit is contained in:
WPT Sync Bot 2019-02-18 20:48:51 -05:00
parent b0751f4241
commit faf92483da
85 changed files with 1096 additions and 220 deletions

View file

@ -98,6 +98,12 @@ class WasmFunctionBuilder {
}
addBody(body) {
const bodyCopy = body.slice();
bodyCopy.push(kExprEnd);
return this.addBodyWithEnd(bodyCopy);
}
addBodyWithEnd(body) {
this.body = body;
return this;
}
@ -262,6 +268,11 @@ class WasmModuleBuilder {
return this.setTableBounds(length);
}
// TODO(ssauleau): legacy, remove this
setTableLength(min, max = undefined) {
return this.setTableBounds(min, max);
}
toArray(debug = false) {
let binary = new Binary;
let wasm = this;