Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index fca1d9a2ce2066fd6a3eb7400996f0b68de9ee69..f3cf73b01502babea645c5e301d01d18d45267e0 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -3670,7 +3670,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. |
@@ -3690,6 +3689,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
switch (op) { |
case Token::IN: |
VisitForStackValue(expr->right()); |
+ SetExpressionPosition(expr); |
CallRuntimeWithOperands(Runtime::kHasProperty); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(r3, Heap::kTrueValueRootIndex); |
@@ -3698,6 +3698,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
case Token::INSTANCEOF: { |
VisitForAccumulatorValue(expr->right()); |
+ SetExpressionPosition(expr); |
PopOperand(r4); |
InstanceOfStub stub(isolate()); |
__ CallStub(&stub); |
@@ -3709,6 +3710,7 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
default: { |
VisitForAccumulatorValue(expr->right()); |
+ SetExpressionPosition(expr); |
Condition cond = CompareIC::ComputeCondition(op); |
PopOperand(r4); |