Index: src/ppc/full-codegen-ppc.cc |
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc |
index ddb100c1971ba3f7676b2d8ba7ce16b97c054aaf..1582585083293887415739a1a4781857a6d1ae8f 100644 |
--- a/src/ppc/full-codegen-ppc.cc |
+++ b/src/ppc/full-codegen-ppc.cc |
@@ -5248,6 +5248,10 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
__ JumpIfSmi(r3, if_false); |
__ CompareObjectType(r3, r3, r4, SYMBOL_TYPE); |
Split(eq, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->float32x4_string())) { |
+ __ JumpIfSmi(r3, if_false); |
+ __ CompareObjectType(r3, r3, r4, FLOAT32X4_TYPE); |
+ Split(eq, if_true, if_false, fall_through); |
} else if (String::Equals(check, factory->boolean_string())) { |
__ CompareRoot(r3, Heap::kTrueValueRootIndex); |
__ beq(if_true); |