Index: src/mips64/lithium-codegen-mips64.cc |
diff --git a/src/mips64/lithium-codegen-mips64.cc b/src/mips64/lithium-codegen-mips64.cc |
index 533abb014c5383833e223c0ad746c4edb7f0ac24..184b70f62451ceb6adfcd04c380276fe54c77814 100644 |
--- a/src/mips64/lithium-codegen-mips64.cc |
+++ b/src/mips64/lithium-codegen-mips64.cc |
@@ -5909,6 +5909,13 @@ Condition LCodeGen::EmitTypeofIs(Label* true_label, |
*cmp2 = Operand(zero_reg); |
final_branch_condition = eq; |
+ } else if (String::Equals(type_name, factory->float32x4_string())) { |
+ __ JumpIfSmi(input, false_label); |
+ __ GetObjectType(input, input, scratch); |
+ *cmp1 = scratch; |
+ *cmp2 = Operand(FLOAT32X4_TYPE); |
+ final_branch_condition = eq; |
+ |
} else { |
*cmp1 = at; |
*cmp2 = Operand(zero_reg); // Set to valid regs, to avoid caller assertion. |