Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 40b78366bb5f22a6e208fe8c601f8e47d23ac545..61a03fbb1fc488a3c3b0d002db848040256eae4c 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -5004,6 +5004,30 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
__ JumpIfSmi(eax, if_false); |
__ CmpObjectType(eax, FLOAT32X4_TYPE, edx); |
Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->int32x4_string())) { |
+ __ JumpIfSmi(eax, if_false); |
+ __ CmpObjectType(eax, INT32X4_TYPE, edx); |
+ Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->bool32x4_string())) { |
+ __ JumpIfSmi(eax, if_false); |
+ __ CmpObjectType(eax, BOOL32X4_TYPE, edx); |
+ Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->int16x8_string())) { |
+ __ JumpIfSmi(eax, if_false); |
+ __ CmpObjectType(eax, INT16X8_TYPE, edx); |
+ Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->bool16x8_string())) { |
+ __ JumpIfSmi(eax, if_false); |
+ __ CmpObjectType(eax, BOOL16X8_TYPE, edx); |
+ Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->int8x16_string())) { |
+ __ JumpIfSmi(eax, if_false); |
+ __ CmpObjectType(eax, INT8X16_TYPE, edx); |
+ Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->bool8x16_string())) { |
+ __ JumpIfSmi(eax, if_false); |
+ __ CmpObjectType(eax, BOOL8X16_TYPE, edx); |
+ Split(equal, if_true, if_false, fall_through); |
} else if (String::Equals(check, factory->boolean_string())) { |
__ cmp(eax, isolate()->factory()->true_value()); |
__ j(equal, if_true); |