Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 4277ae0bdb393c795bc94c5d5e98c5eac4ca39ef..3a46c33aa5343fe475c35df40f0cad20bbcb6d48 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -2608,6 +2608,16 @@ |
__ ldrb(r1, FieldMemOperand(r0, Map::kBitFieldOffset)); |
__ tst(r1, Operand((1 << Map::kIsCallable) | (1 << Map::kIsUndetectable))); |
Split(eq, if_true, if_false, fall_through); |
+// clang-format off |
+#define SIMD128_TYPE(TYPE, Type, type, lane_count, lane_type) \ |
+ } else if (String::Equals(check, factory->type##_string())) { \ |
+ __ JumpIfSmi(r0, if_false); \ |
+ __ ldr(r0, FieldMemOperand(r0, HeapObject::kMapOffset)); \ |
+ __ CompareRoot(r0, Heap::k##Type##MapRootIndex); \ |
+ Split(eq, if_true, if_false, fall_through); |
+ SIMD128_TYPES(SIMD128_TYPE) |
+#undef SIMD128_TYPE |
+ // clang-format on |
} else { |
if (if_false != fall_through) __ jmp(if_false); |
} |