Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index 0136e5ba16c5417c17f452cfbc2c4bd68d7c1ccd..544b4dd4595d0a07ec6a23a30bdc062882c5c4bc 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -967,7 +967,6 @@ MaybeHandle<Code> Compiler::GetLazyCode(Handle<JSFunction> function) { |
| Code); |
| if (FLAG_always_opt && isolate->use_crankshaft() && |
| - !info.shared_info()->optimization_disabled() && |
| !isolate->DebuggerHasBreakPoints()) { |
| Handle<Code> opt_code; |
| if (Compiler::GetOptimizedCode( |