Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 47fe9118075bba5bfe444da00e925cf686fccd6e..dcdfc967df984e05a6832d8239895c3abdf6634c 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -5102,6 +5102,30 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
__ JumpIfSmi(v0, if_false); |
__ GetObjectType(v0, v0, a1); |
Split(eq, a1, Operand(FLOAT32X4_TYPE), if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->int32x4_string())) { |
+ __ JumpIfSmi(v0, if_false); |
+ __ GetObjectType(v0, v0, a1); |
+ Split(eq, a1, Operand(INT32X4_TYPE), if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->bool32x4_string())) { |
+ __ JumpIfSmi(v0, if_false); |
+ __ GetObjectType(v0, v0, a1); |
+ Split(eq, a1, Operand(BOOL32X4_TYPE), if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->int16x8_string())) { |
+ __ JumpIfSmi(v0, if_false); |
+ __ GetObjectType(v0, v0, a1); |
+ Split(eq, a1, Operand(INT16X8_TYPE), if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->bool16x8_string())) { |
+ __ JumpIfSmi(v0, if_false); |
+ __ GetObjectType(v0, v0, a1); |
+ Split(eq, a1, Operand(BOOL16X8_TYPE), if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->int8x16_string())) { |
+ __ JumpIfSmi(v0, if_false); |
+ __ GetObjectType(v0, v0, a1); |
+ Split(eq, a1, Operand(INT8X16_TYPE), if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->bool8x16_string())) { |
+ __ JumpIfSmi(v0, if_false); |
+ __ GetObjectType(v0, v0, a1); |
+ Split(eq, a1, Operand(BOOL8X16_TYPE), if_true, if_false, fall_through); |
} else if (String::Equals(check, factory->boolean_string())) { |
__ LoadRoot(at, Heap::kTrueValueRootIndex); |
__ Branch(if_true, eq, v0, Operand(at)); |