| Index: test/mjsunit/wasm/wasm-module-builder.js
|
| diff --git a/test/mjsunit/wasm/wasm-module-builder.js b/test/mjsunit/wasm/wasm-module-builder.js
|
| index e3311c1cb620f8d798b9a6a8120e0c189c295768..5277804cbd1f8c14ad21aed598b2d14f14de8cf0 100644
|
| --- a/test/mjsunit/wasm/wasm-module-builder.js
|
| +++ b/test/mjsunit/wasm/wasm-module-builder.js
|
| @@ -207,6 +207,11 @@ class WasmModuleBuilder {
|
| return this;
|
| }
|
|
|
| + addExportOfKind(name, kind, index) {
|
| + this.exports.push({name: name, kind: kind, index: index});
|
| + return this;
|
| + }
|
| +
|
| addDataSegment(addr, data, is_global = false) {
|
| this.segments.push({addr: addr, data: data, is_global: is_global});
|
| return this.segments.length - 1;
|
|
|