diff options
Diffstat (limited to 'deps/v8/test/common/wasm/wasm-macro-gen.h')
-rw-r--r-- | deps/v8/test/common/wasm/wasm-macro-gen.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/test/common/wasm/wasm-macro-gen.h b/deps/v8/test/common/wasm/wasm-macro-gen.h index f888922410..4f998a4bc5 100644 --- a/deps/v8/test/common/wasm/wasm-macro-gen.h +++ b/deps/v8/test/common/wasm/wasm-macro-gen.h @@ -206,8 +206,10 @@ // Misc expressions. //------------------------------------------------------------------------------ #define WASM_STMTS(...) __VA_ARGS__ -#define WASM_ZERO kExprI32Const, 0 -#define WASM_ONE kExprI32Const, 1 +#define WASM_ZERO WASM_I32V_1(0) +#define WASM_ONE WASM_I32V_1(1) +#define WASM_ZERO64 WASM_I64V_1(0) +#define WASM_ONE64 WASM_I64V_1(1) #define I32V_MIN(length) -(1 << (6 + (7 * ((length)-1)))) #define I32V_MAX(length) ((1 << (6 + (7 * ((length)-1)))) - 1) |