 Chromium Code Reviews
 Chromium Code Reviews Issue 22593003:
  Add flag trap_on_stub_deopt. We want to be able to trap on hydrogen stub bailouts.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 22593003:
  Add flag trap_on_stub_deopt. We want to be able to trap on hydrogen stub bailouts.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| 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); | 
| } |