Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index eac70192053b5a430d9a982f97ab5f101cd41fa3..3b73313aaf89e9fd020dd5c50ce06f20d0e2fdc0 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -5158,6 +5158,10 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
__ JumpIfSmi(rax, if_false); |
__ CmpObjectType(rax, SYMBOL_TYPE, rdx); |
Split(equal, if_true, if_false, fall_through); |
+ } else if (String::Equals(check, factory->float32x4_string())) { |
+ __ JumpIfSmi(rax, if_false); |
+ __ CmpObjectType(rax, FLOAT32X4_TYPE, rdx); |
+ Split(equal, if_true, if_false, fall_through); |
} else if (String::Equals(check, factory->boolean_string())) { |
__ CompareRoot(rax, Heap::kTrueValueRootIndex); |
__ j(equal, if_true); |