diff options
author | Michaƫl Zasso <targos@protonmail.com> | 2018-01-24 20:16:06 +0100 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-01-24 15:02:20 -0800 |
commit | 4c4af643e5042d615a60c6bbc05aee9d81b903e5 (patch) | |
tree | 3fb0a97988fe4439ae3ae06f26915d1dcf8cab92 /deps/v8/test/mjsunit/regress/wasm/regress-702460.js | |
parent | fa9f31a4fda5a3782c652e56e394465805ebb50f (diff) | |
download | node-new-4c4af643e5042d615a60c6bbc05aee9d81b903e5.tar.gz |
deps: update V8 to 6.4.388.40
PR-URL: https://github.com/nodejs/node/pull/17489
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'deps/v8/test/mjsunit/regress/wasm/regress-702460.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/wasm/regress-702460.js | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/wasm/regress-702460.js b/deps/v8/test/mjsunit/regress/wasm/regress-702460.js new file mode 100644 index 0000000000..73c01e13a0 --- /dev/null +++ b/deps/v8/test/mjsunit/regress/wasm/regress-702460.js @@ -0,0 +1,51 @@ +// Copyright 2017 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. + +load("test/mjsunit/wasm/wasm-constants.js"); +load("test/mjsunit/wasm/wasm-module-builder.js"); + +// Non-standard opcodes. +let kSig_s_v = makeSig([], [kWasmS128]); +let kExprS128LoadMem = 0xc0; + +(function() { +"use asm"; + var builder = new WasmModuleBuilder(); + builder.addFunction("regression_702460", kSig_i_v) + .addBody([ + kExprI32Const, 0x52, + kExprI32Const, 0x41, + kExprI32Const, 0x3c, + kExprI32Const, 0xdc, 0x01, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprSetLocal, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprGrowMemory, 0x00, + kExprS128LoadMem, 0x00, 0x40, + kExprUnreachable, + kExprGrowMemory, 0x00 + ]).exportFunc(); + assertThrows(() => builder.instantiate()); +})(); |