Index: test/unittests/wasm/ast-decoder-unittest.cc |
diff --git a/test/unittests/wasm/ast-decoder-unittest.cc b/test/unittests/wasm/ast-decoder-unittest.cc |
index f6f29f90bfa8537999911e7fffcc59a3c62406cb..894db4ec7b7360673261bc5bb20e56b96ef9e8f6 100644 |
--- a/test/unittests/wasm/ast-decoder-unittest.cc |
+++ b/test/unittests/wasm/ast-decoder-unittest.cc |
@@ -251,9 +251,6 @@ TEST_F(WasmDecoderTest, Int64Const) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, Float32Const) { |
byte code[] = {kExprF32Const, 0, 0, 0, 0}; |
float* ptr = reinterpret_cast<float*>(code + 1); |
@@ -273,8 +270,6 @@ TEST_F(WasmDecoderTest, Float64Const) { |
} |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, Int32Const_off_end) { |
byte code[] = {kExprI32Const, 0xaa, 0xbb, 0xcc, 0x44}; |
@@ -532,16 +527,11 @@ TEST_F(WasmDecoderTest, ExprBlock1b) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, ExprBlock1c) { |
static const byte code[] = {kExprBlock, 1, kExprF32Const, 0, 0, 0, 0}; |
EXPECT_VERIFIES(&env_f_ff, code); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, IfEmpty) { |
static const byte code[] = {kExprIf, kExprGetLocal, 0, kExprNop}; |
@@ -704,9 +694,6 @@ TEST_F(WasmDecoderTest, ReturnVoid2) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, ReturnVoid3) { |
EXPECT_VERIFIES_INLINE(&env_v_v, kExprI8Const, 0); |
EXPECT_VERIFIES_INLINE(&env_v_v, kExprI32Const, 0, 0, 0, 0); |
@@ -717,8 +704,6 @@ TEST_F(WasmDecoderTest, ReturnVoid3) { |
EXPECT_VERIFIES_INLINE(&env_v_i, kExprGetLocal, 0); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, Unreachable1) { |
EXPECT_VERIFIES_INLINE(&env_v_v, kExprUnreachable); |
@@ -881,9 +866,6 @@ TEST_F(WasmDecoderTest, MacrosStmt) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, MacrosBreak) { |
EXPECT_VERIFIES_INLINE(&env_v_v, WASM_LOOP(1, WASM_BREAK(0))); |
@@ -895,8 +877,6 @@ TEST_F(WasmDecoderTest, MacrosBreak) { |
WASM_LOOP(1, WASM_BREAKV(0, WASM_F64(0.0)))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, MacrosContinue) { |
EXPECT_VERIFIES_INLINE(&env_v_v, WASM_LOOP(1, WASM_CONTINUE(0))); |
@@ -1263,9 +1243,6 @@ TEST_F(WasmDecoderTest, CallsWithTooFewArguments) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, CallsWithSpilloverArgs) { |
static LocalType a_i_ff[] = {kAstI32, kAstF32, kAstF32}; |
FunctionSig sig_i_ff(1, 2, a_i_ff); |
@@ -1329,8 +1306,6 @@ TEST_F(WasmDecoderTest, CallsWithMismatchedSigs3) { |
EXPECT_FAILURE_INLINE(env, WASM_CALL_FUNCTION(1, WASM_F32(17.6))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, SimpleIndirectCalls) { |
FunctionEnv* env = &env_i_i; |
@@ -1573,9 +1548,6 @@ TEST_F(WasmDecoderTest, BreakNesting3) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, BreaksWithMultipleTypes) { |
EXPECT_FAILURE_INLINE( |
&env_i_i, |
@@ -1593,8 +1565,6 @@ TEST_F(WasmDecoderTest, BreaksWithMultipleTypes) { |
WASM_BRV_IF(0, WASM_ZERO, WASM_I8(11)))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, BreakNesting_6_levels) { |
for (int mask = 0; mask < 64; mask++) { |
@@ -1628,9 +1598,6 @@ TEST_F(WasmDecoderTest, BreakNesting_6_levels) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, ExprBreak_TypeCheck) { |
FunctionEnv* envs[] = {&env_i_i, &env_l_l, &env_f_ff, &env_d_dd}; |
for (size_t i = 0; i < arraysize(envs); i++) { |
@@ -1653,8 +1620,6 @@ TEST_F(WasmDecoderTest, ExprBreak_TypeCheck) { |
WASM_F64(1.2))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, ExprBreak_TypeCheckAll) { |
byte code1[] = {WASM_BLOCK(2, |
@@ -1835,9 +1800,6 @@ TEST_F(WasmDecoderTest, TableSwitch2) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, TableSwitch1b) { |
EXPECT_VERIFIES_INLINE(&env_i_i, WASM_TABLESWITCH_OP(1, 1, WASM_CASE(0)), |
WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_ZERO)); |
@@ -1849,8 +1811,6 @@ TEST_F(WasmDecoderTest, TableSwitch1b) { |
WASM_TABLESWITCH_BODY(WASM_ZERO, WASM_F64(0.0))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, TableSwitch_br1) { |
for (int depth = 0; depth < 2; depth++) { |
byte code[] = {WASM_BLOCK(1, WASM_TABLESWITCH_OP(0, 1, WASM_CASE_BR(depth)), |
@@ -1882,17 +1842,12 @@ TEST_F(WasmDecoderTest, TableSwitch_invalid_case_ref) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, TableSwitch1_br) { |
EXPECT_VERIFIES_INLINE( |
&env_i_i, WASM_TABLESWITCH_OP(1, 1, WASM_CASE(0)), |
WASM_TABLESWITCH_BODY(WASM_GET_LOCAL(0), WASM_BRV(0, WASM_ZERO))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, TableSwitch2_br) { |
EXPECT_VERIFIES_INLINE( |
@@ -1916,9 +1871,6 @@ TEST_F(WasmDecoderTest, TableSwitch2x2) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, ExprBreakNesting1) { |
EXPECT_VERIFIES_INLINE(&env_v_v, WASM_BLOCK(1, WASM_BRV(0, WASM_ZERO))); |
EXPECT_VERIFIES_INLINE(&env_v_v, WASM_BLOCK(1, WASM_BR(0))); |
@@ -1936,8 +1888,6 @@ TEST_F(WasmDecoderTest, ExprBreakNesting1) { |
EXPECT_VERIFIES_INLINE(&env_v_v, WASM_LOOP(1, WASM_BR(1))); |
} |
-#endif |
- |
TEST_F(WasmDecoderTest, Select) { |
EXPECT_VERIFIES_INLINE( |
@@ -1946,9 +1896,6 @@ TEST_F(WasmDecoderTest, Select) { |
} |
-// TODO(tizer): Fix on arm and reenable. |
-#if !V8_TARGET_ARCH_ARM && !V8_TARGET_ARCH_ARM64 |
- |
TEST_F(WasmDecoderTest, Select_TypeCheck) { |
EXPECT_FAILURE_INLINE(&env_i_i, WASM_SELECT(WASM_F32(9.9), WASM_GET_LOCAL(0), |
WASM_GET_LOCAL(0))); |
@@ -1960,8 +1907,6 @@ TEST_F(WasmDecoderTest, Select_TypeCheck) { |
&env_i_i, WASM_SELECT(WASM_F32(9.9), WASM_GET_LOCAL(0), WASM_I64(0))); |
} |
-#endif |
- |
class WasmOpcodeLengthTest : public TestWithZone { |
public: |