Index: test/mjsunit/wasm/trap-location.js |
diff --git a/test/mjsunit/wasm/trap-location.js b/test/mjsunit/wasm/trap-location.js |
index 5e1458422468d9f5e7d4683007a59a1e4647834e..1aee6d1567ff4a3c379ede5f6afe963e552675a3 100644 |
--- a/test/mjsunit/wasm/trap-location.js |
+++ b/test/mjsunit/wasm/trap-location.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 |