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..c03f218924c23405ae5ee1097ee8ea67b134e48f 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -805,7 +805,8 @@ void LCodeGen::DeoptimizeIf(Condition cc, |
return; |
} |
- if (FLAG_trap_on_deopt && info()->IsOptimizing()) { |
+ if ((FLAG_trap_on_deopt && info()->IsOptimizing()) || |
+ (FLAG_trap_on_stub_deopt && info()->IsStub())) { |
Sven Panne
2013/08/08 06:31:28
To remove the copy-n-paste, please make this a pre
|
__ stop("trap_on_deopt", cc); |
} |