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

Unified Diff: test/mjsunit/regress/wasm/regression-5531.js

Issue 2425983002: [turbofan] Use uint32 to store the number of control outputs instead of uint16. (Closed)
Patch Set: Increase the maximum number of control outputs instead. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/operator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/wasm/regression-5531.js
diff --git a/test/mjsunit/regress/wasm/regression-654377.js b/test/mjsunit/regress/wasm/regression-5531.js
similarity index 75%
copy from test/mjsunit/regress/wasm/regression-654377.js
copy to test/mjsunit/regress/wasm/regression-5531.js
index 871da72114f4ee7ba8ed260aed52e46f26b423ee..9c1c092519fad02cb221d1b091849e4ca662daf3 100644
--- a/test/mjsunit/regress/wasm/regression-654377.js
+++ b/test/mjsunit/regress/wasm/regression-5531.js
@@ -12,11 +12,10 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
builder.addMemory(1, 1, false);
builder.addFunction("foo", kSig_i_v)
.addBody([
- kExprI32Const, 00,
- kExprMemorySize,
- kExprBrIf, 00,
- kExprMemorySize,
- kExprBr, 0xe7, 0xd2, 0xf2, 0xff, 0x1d
+ kExprI32Const, 0x00,
+ kExprI8Const, 0xcb,
+ kExprI8Const, 0xff,
+ kExprBrTable, 0xcb, 0xcb, 0xcb, 0x00, 0x00, 0xcb, 0x00 // entries=1238475
])
.exportFunc();
assertThrows(function() { builder.instantiate(); });
« no previous file with comments | « src/compiler/operator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698