Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: src/factory.cc

Issue 429583002: Revert "Make --always-opt also optimize toplevel code." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698