| Index: src/runtime.cc
|
| ===================================================================
|
| --- src/runtime.cc (revision 12497)
|
| +++ src/runtime.cc (working copy)
|
| @@ -7909,7 +7909,8 @@
|
|
|
| // If the function is not optimizable or debugger is active continue using the
|
| // code from the full compiler.
|
| - if (!function->shared()->code()->optimizable() ||
|
| + if (!FLAG_crankshaft ||
|
| + !function->shared()->code()->optimizable() ||
|
| isolate->DebuggerHasBreakPoints()) {
|
| if (FLAG_trace_opt) {
|
| PrintF("[failed to optimize ");
|
|
|