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

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

Issue 2403013002: [wasm] Do not create TF nodes during verification (Closed)
Patch Set: Only guard CreateOrMergeIntoPhi. 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/wasm/ast-decoder.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-654377.js
diff --git a/test/mjsunit/regress/wasm/regression-651961.js b/test/mjsunit/regress/wasm/regression-654377.js
similarity index 72%
copy from test/mjsunit/regress/wasm/regression-651961.js
copy to test/mjsunit/regress/wasm/regression-654377.js
index abdec983583242a6990e6f15234573284c0ac71c..871da72114f4ee7ba8ed260aed52e46f26b423ee 100644
--- a/test/mjsunit/regress/wasm/regression-651961.js
+++ b/test/mjsunit/regress/wasm/regression-654377.js
@@ -12,13 +12,12 @@ load("test/mjsunit/wasm/wasm-module-builder.js");
builder.addMemory(1, 1, false);
builder.addFunction("foo", kSig_i_v)
.addBody([
+ kExprI32Const, 00,
kExprMemorySize,
- kExprI32Const, 0x10,
- kExprGrowMemory,
- kExprI32Mul,
+ kExprBrIf, 00,
+ kExprMemorySize,
+ kExprBr, 0xe7, 0xd2, 0xf2, 0xff, 0x1d
])
.exportFunc();
- var module = builder.instantiate();
- var result = module.exports.foo();
- assertEquals(1, result);
+ assertThrows(function() { builder.instantiate(); });
})();
« no previous file with comments | « src/wasm/ast-decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698