Index: test/mjsunit/wasm/wasm-constants.js |
diff --git a/test/mjsunit/wasm/wasm-constants.js b/test/mjsunit/wasm/wasm-constants.js |
index a064d55aaf8de9a23ad537f18f4c675f94211088..edee2c434313abba1369829cdfe3949bb7d1f8c0 100644 |
--- a/test/mjsunit/wasm/wasm-constants.js |
+++ b/test/mjsunit/wasm/wasm-constants.js |
@@ -77,12 +77,12 @@ let kDeclFunctionLocals = 0x04; |
let kDeclFunctionExport = 0x08; |
// Local types |
-let kAstStmt = 0x40; |
-let kAstI32 = 0x7f; |
-let kAstI64 = 0x7e; |
-let kAstF32 = 0x7d; |
-let kAstF64 = 0x7c; |
-let kAstS128 = 0x7b; |
+let kWasmStmt = 0x40; |
+let kWasmI32 = 0x7f; |
+let kWasmI64 = 0x7e; |
+let kWasmF32 = 0x7d; |
+let kWasmF64 = 0x7c; |
+let kWasmS128 = 0x7b; |
let kExternalFunction = 0; |
let kExternalTable = 1; |
@@ -93,27 +93,27 @@ let kTableZero = 0; |
let kMemoryZero = 0; |
// Useful signatures |
-let kSig_i_i = makeSig([kAstI32], [kAstI32]); |
-let kSig_l_l = makeSig([kAstI64], [kAstI64]); |
-let kSig_i_l = makeSig([kAstI64], [kAstI32]); |
-let kSig_i_ii = makeSig([kAstI32, kAstI32], [kAstI32]); |
-let kSig_i_iii = makeSig([kAstI32, kAstI32, kAstI32], [kAstI32]); |
-let kSig_d_dd = makeSig([kAstF64, kAstF64], [kAstF64]); |
-let kSig_l_ll = makeSig([kAstI64, kAstI64], [kAstI64]); |
-let kSig_i_dd = makeSig([kAstF64, kAstF64], [kAstI32]); |
+let kSig_i_i = makeSig([kWasmI32], [kWasmI32]); |
+let kSig_l_l = makeSig([kWasmI64], [kWasmI64]); |
+let kSig_i_l = makeSig([kWasmI64], [kWasmI32]); |
+let kSig_i_ii = makeSig([kWasmI32, kWasmI32], [kWasmI32]); |
+let kSig_i_iii = makeSig([kWasmI32, kWasmI32, kWasmI32], [kWasmI32]); |
+let kSig_d_dd = makeSig([kWasmF64, kWasmF64], [kWasmF64]); |
+let kSig_l_ll = makeSig([kWasmI64, kWasmI64], [kWasmI64]); |
+let kSig_i_dd = makeSig([kWasmF64, kWasmF64], [kWasmI32]); |
let kSig_v_v = makeSig([], []); |
-let kSig_i_v = makeSig([], [kAstI32]); |
-let kSig_l_v = makeSig([], [kAstI64]); |
-let kSig_f_v = makeSig([], [kAstF64]); |
-let kSig_d_v = makeSig([], [kAstF64]); |
-let kSig_v_i = makeSig([kAstI32], []); |
-let kSig_v_ii = makeSig([kAstI32, kAstI32], []); |
-let kSig_v_iii = makeSig([kAstI32, kAstI32, kAstI32], []); |
-let kSig_v_l = makeSig([kAstI64], []); |
-let kSig_v_d = makeSig([kAstF64], []); |
-let kSig_v_dd = makeSig([kAstF64, kAstF64], []); |
-let kSig_v_ddi = makeSig([kAstF64, kAstF64, kAstI32], []); |
-let kSig_s_v = makeSig([], [kAstS128]); |
+let kSig_i_v = makeSig([], [kWasmI32]); |
+let kSig_l_v = makeSig([], [kWasmI64]); |
+let kSig_f_v = makeSig([], [kWasmF64]); |
+let kSig_d_v = makeSig([], [kWasmF64]); |
+let kSig_v_i = makeSig([kWasmI32], []); |
+let kSig_v_ii = makeSig([kWasmI32, kWasmI32], []); |
+let kSig_v_iii = makeSig([kWasmI32, kWasmI32, kWasmI32], []); |
+let kSig_v_l = makeSig([kWasmI64], []); |
+let kSig_v_d = makeSig([kWasmF64], []); |
+let kSig_v_dd = makeSig([kWasmF64, kWasmF64], []); |
+let kSig_v_ddi = makeSig([kWasmF64, kWasmF64, kWasmI32], []); |
+let kSig_s_v = makeSig([], [kWasmS128]); |
function makeSig(params, results) { |
return {params: params, results: results}; |