Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Side by Side Diff: test/mjsunit/regress/wasm/regression-702460.js

Issue 2794693002: [wasm] Gate SIMD load/store opcodes with the --wasm-simd-prototype flag. (Closed)
Patch Set: Fix copyright header Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/wasm/function-body-decoder.cc ('k') | test/mjsunit/wasm/wasm-constants.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 load("test/mjsunit/wasm/wasm-constants.js");
6 load("test/mjsunit/wasm/wasm-module-builder.js");
7
8 (function() {
9 "use asm";
10 var builder = new WasmModuleBuilder();
11 builder.addFunction("regression_702460", kSig_i_v)
12 .addBody([
13 kExprI32Const, 0x52,
14 kExprI32Const, 0x41,
15 kExprI32Const, 0x3c,
16 kExprI32Const, 0xdc, 0x01,
17 kExprGrowMemory, 0x00,
18 kExprGrowMemory, 0x00,
19 kExprGrowMemory, 0x00,
20 kExprSetLocal, 0x00,
21 kExprGrowMemory, 0x00,
22 kExprGrowMemory, 0x00,
23 kExprGrowMemory, 0x00,
24 kExprGrowMemory, 0x00,
25 kExprGrowMemory, 0x00,
26 kExprGrowMemory, 0x00,
27 kExprGrowMemory, 0x00,
28 kExprGrowMemory, 0x00,
29 kExprGrowMemory, 0x00,
30 kExprGrowMemory, 0x00,
31 kExprGrowMemory, 0x00,
32 kExprGrowMemory, 0x00,
33 kExprGrowMemory, 0x00,
34 kExprGrowMemory, 0x00,
35 kExprGrowMemory, 0x00,
36 kExprGrowMemory, 0x00,
37 kExprGrowMemory, 0x00,
38 kExprGrowMemory, 0x00,
39 kExprGrowMemory, 0x00,
40 kExprGrowMemory, 0x00,
41 kExprGrowMemory, 0x00,
42 kExprS128LoadMem, 0x00, 0x40,
43 kExprUnreachable,
44 kExprGrowMemory, 0x00
45 ]).exportFunc();
46 assertThrows(() => builder.instantiate());
47 })();
OLDNEW
« no previous file with comments | « src/wasm/function-body-decoder.cc ('k') | test/mjsunit/wasm/wasm-constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698