Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 34e601ccaa386a3eded1aad2b94fefccaf29bf56..2dd17ca7771252fff46d2773d958574b8e924161 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -761,7 +761,7 @@ void LCodeGen::DeoptimizeIf(Condition cc, |
return; |
} |
- if (FLAG_trap_on_deopt && info()->IsOptimizing()) { |
+ if (info()->ShouldTrapOnDeopt()) { |
Label skip; |
if (cc != al) { |
__ Branch(&skip, NegateCondition(cc), src1, src2); |