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