Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index cc8a05f2faf512639185469ee736a9f66356eb78..8acf07b2e83432f86e702670e17f584fa2e9b7d0 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -2542,6 +2542,16 @@ |
__ test_b(FieldOperand(edx, Map::kBitFieldOffset), |
Immediate((1 << Map::kIsCallable) | (1 << Map::kIsUndetectable))); |
Split(zero, 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(eax, if_false); \ |
+ __ cmp(FieldOperand(eax, HeapObject::kMapOffset), \ |
+ isolate()->factory()->type##_map()); \ |
+ Split(equal, 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); |
} |