Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index d22bcb59100ddf6abd751288c422dbca189ff285..3009258319e77ff4ede387223884f258559677e7 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -805,7 +805,7 @@ void LCodeGen::DeoptimizeIf(Condition cc, |
return; |
} |
- if (FLAG_trap_on_deopt && info()->IsOptimizing()) { |
+ if (info()->ShouldTrapOnDeopt()) { |
__ stop("trap_on_deopt", cc); |
} |