Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 45e8d68768b1863fab2efa22289e6cdf505219e9..88438aef360a68c1828a97e443ba7f683663c6db 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -1746,16 +1746,19 @@ bool FullCodeGenerator::TryLiteralCompare(CompareOperation* expr) { |
Expression* sub_expr; |
Handle<String> check; |
if (expr->IsLiteralCompareTypeof(&sub_expr, &check)) { |
+ SetExpressionPosition(expr); |
EmitLiteralCompareTypeof(expr, sub_expr, check); |
return true; |
} |
if (expr->IsLiteralCompareUndefined(&sub_expr)) { |
+ SetExpressionPosition(expr); |
EmitLiteralCompareNil(expr, sub_expr, kUndefinedValue); |
return true; |
} |
if (expr->IsLiteralCompareNull(&sub_expr)) { |
+ SetExpressionPosition(expr); |
EmitLiteralCompareNil(expr, sub_expr, kNullValue); |
return true; |
} |