| Index: src/factory.cc
|
| diff --git a/src/factory.cc b/src/factory.cc
|
| index 94da1681af27527728e7a40fb72a681cbe2f56f6..60dc0b7a8d7a67fe2b507e10e23e89f15e24e881 100644
|
| --- a/src/factory.cc
|
| +++ b/src/factory.cc
|
| @@ -5,7 +5,6 @@
|
| #include "src/factory.h"
|
|
|
| #include "src/allocation-site-scopes.h"
|
| -#include "src/bootstrapper.h"
|
| #include "src/conversions.h"
|
| #include "src/isolate-inl.h"
|
| #include "src/macro-assembler.h"
|
| @@ -1374,8 +1373,6 @@ Handle<JSFunction> Factory::NewFunctionFromSharedFunctionInfo(
|
| FLAG_always_opt &&
|
| result->is_compiled() &&
|
| !info->is_toplevel() &&
|
| - // TODO(mstarzinger): Extend to optimization of builtin code.
|
| - !isolate()->bootstrapper()->IsActive() &&
|
| info->allows_lazy_compilation() &&
|
| !info->optimization_disabled() &&
|
| !isolate()->DebuggerHasBreakPoints()) {
|
|
|