Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 7a89bd07f2beed0db6faf49c7539bc08e8870394..dcc5e874444ddce4f87b303d012d1555d4d687dc 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -5198,6 +5198,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); |