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

Unified Diff: test/mjsunit/wasm/trap-location-with-trap-if.js

Issue 2594993002: [wasm] Rename wasm::LocalType to wasm::ValueType and kAst* to kWasm* (Closed)
Patch Set: Fix inspector tests Created 4 years 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 | « test/mjsunit/wasm/trap-location.js ('k') | test/mjsunit/wasm/wasm-constants.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/trap-location-with-trap-if.js
diff --git a/test/mjsunit/wasm/trap-location-with-trap-if.js b/test/mjsunit/wasm/trap-location-with-trap-if.js
index 66c4550cb4ba19e89318b2d0b4db525392c37344..752ec6c2df6f0b4c0300c2c735c703d98810c016 100644
--- a/test/mjsunit/wasm/trap-location-with-trap-if.js
+++ b/test/mjsunit/wasm/trap-location-with-trap-if.js
@@ -30,11 +30,11 @@ var sig_index = builder.addType(kSig_i_v)
builder.addFunction("main", kSig_i_i)
.addBody([
// offset 1
- kExprBlock, kAstI32,
+ kExprBlock, kWasmI32,
kExprGetLocal, 0,
kExprI32Const, 2,
kExprI32LtU,
- kExprIf, kAstStmt,
+ kExprIf, kWasmStmt,
// offset 9
kExprI32Const, 0x7e /* -2 */,
kExprGetLocal, 0,
@@ -47,7 +47,7 @@ builder.addFunction("main", kSig_i_i)
kExprGetLocal, 0,
kExprI32Const, 2,
kExprI32Eq,
- kExprIf, kAstStmt,
+ kExprIf, kWasmStmt,
kExprUnreachable,
kExprEnd,
// offset 30
« no previous file with comments | « test/mjsunit/wasm/trap-location.js ('k') | test/mjsunit/wasm/wasm-constants.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698