diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/wasm/regress-834624.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/wasm/regress-834624.js | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/deps/v8/test/mjsunit/regress/wasm/regress-834624.js b/deps/v8/test/mjsunit/regress/wasm/regress-834624.js deleted file mode 100644 index 3e3548ed321..00000000000 --- a/deps/v8/test/mjsunit/regress/wasm/regress-834624.js +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2018 the V8 project authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Flags: --wasm-interpret-all - -load("test/mjsunit/wasm/wasm-module-builder.js"); - -let instance; -(function DoTest() { - function call_main() { - instance.exports.main(); - } - let module = new WasmModuleBuilder(); - module.addImport('mod', 'func', kSig_v_i); - module.addFunction('main', kSig_v_i) - .addBody([kExprLocalGet, 0, kExprCallFunction, 0]) - .exportFunc(); - instance = module.instantiate({ - mod: { - func: call_main - } - }); - try { - instance.exports.main(); - } catch (e) { - // ignore - } -})(); |