mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 2b66b8b24b727c7490bf6091dd8a6a551642720b
This commit is contained in:
parent
b0751f4241
commit
faf92483da
85 changed files with 1096 additions and 220 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue