Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index b0a715f830a4874c5ab07b64d86d28021f0df5f8..c5c6164c2524b50587ca10e046afc41bb97d497b 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3593,7 +3593,6 @@ void FullCodeGenerator::EmitLiteralCompareTypeof(Expression* expr, |
void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
Comment cmnt(masm_, "[ CompareOperation"); |
- SetExpressionPosition(expr); |
// First we try a fast inlined version of the compare when one of |
// the operands is a literal. |
@@ -3613,6 +3612,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
switch (op) { |
case Token::IN: |
VisitForStackValue(expr->right()); |
+ SetExpressionPosition(expr); |
CallRuntimeWithOperands(Runtime::kHasProperty); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ cmp(eax, isolate()->factory()->true_value()); |
@@ -3621,6 +3621,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
case Token::INSTANCEOF: { |
VisitForAccumulatorValue(expr->right()); |
+ SetExpressionPosition(expr); |
PopOperand(edx); |
InstanceOfStub stub(isolate()); |
__ CallStub(&stub); |
@@ -3632,6 +3633,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
default: { |
VisitForAccumulatorValue(expr->right()); |
+ SetExpressionPosition(expr); |
Condition cc = CompareIC::ComputeCondition(op); |
PopOperand(edx); |