Reviewers: sigurds,
Description:
Bring back test coverage for baseline TurboFan.
[email protected]
Please review this at https://codereview.chromium.org/498243002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+4, -2 lines):
M src/compiler.cc
M src/flag-definitions.h
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index
bddb327069977370c000f6a82f6e8823638c2e61..7918920562c2e521a55c7db3a565b4b0756aae3d
100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -414,7 +414,9 @@ OptimizedCompileJob::Status
OptimizedCompileJob::CreateGraph() {
compiler::Pipeline pipeline(info());
pipeline.GenerateCode();
if (!info()->code().is_null()) {
-
info()->context()->native_context()->AddOptimizedCode(*info()->code());
+ if (FLAG_turbo_deoptimization) {
+
info()->context()->native_context()->AddOptimizedCode(*info()->code());
+ }
return SetLastStatus(SUCCEEDED);
}
}
Index: src/flag-definitions.h
diff --git a/src/flag-definitions.h b/src/flag-definitions.h
index
03ee2a1738f7f5254e49ede0b663ad1509cf1ec4..7796700e14080ec80a5c8a9d80121de463b47087
100644
--- a/src/flag-definitions.h
+++ b/src/flag-definitions.h
@@ -335,7 +335,7 @@ DEFINE_BOOL(turbo_stats, false, "print TurboFan
statistics")
DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan")
DEFINE_BOOL(turbo_source_positions, false,
"track source code positions when building TurboFan IR")
-DEFINE_BOOL(context_specialization, true,
+DEFINE_BOOL(context_specialization, false,
"enable context specialization in TurboFan")
DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in
TurboFan")
DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan")
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.