Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 47e8c465d00bdd351b85f0a72612c5abd7ef3224..66bc38b2601e6df026f548dd7fe10c20de03343f 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -4592,7 +4592,7 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
&if_true, &if_false, &fall_through); |
{ AccumulatorValueContext context(this); |
- VisitForTypeofValue(sub_expr->AsUnaryOperation()->expression()); |
+ VisitForTypeofValue(sub_expr); |
} |
PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |