Index: test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js |
diff --git a/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js b/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js |
index 26bdf8ece81b3bed5b7c8c32a96e52c466304f77..3fab8c65b1e7a00232035098c633ad5124d03668 100644 |
--- a/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js |
+++ b/test/mjsunit/wasm/ensure-wasm-binaries-up-to-date.js |
@@ -7,27 +7,6 @@ |
// Ensure checked in wasm binaries used by integration tests from v8 hosts |
// (such as chromium) are up to date. |
-(function print_incrementer() { |
- if (true) return; // remove to regenerate the module |
- |
- load('test/mjsunit/wasm/wasm-constants.js'); |
- load('test/mjsunit/wasm/wasm-module-builder.js'); |
- |
- var module = new WasmModuleBuilder(); |
- module.addFunction(undefined, kSig_i_i) |
- .addBody([kExprGetLocal, 0, kExprI32Const, 1, kExprI32Add]) |
- .exportAs("increment"); |
- |
- var buffer = module.toBuffer(true); |
- var view = new Uint8Array(buffer); |
- |
- print("const unsigned char module[] = {"); |
- for (var i = 0; i < buffer.byteLength; i++) { |
- print(" " + view[i] + ","); |
- } |
- print("};"); |
-})(); |
- |
(function ensure_incrementer() { |
var buff = readbuffer("test/mjsunit/wasm/incrementer.wasm"); |
var mod = new WebAssembly.Module(buff); |