Bring back test coverage for baseline TurboFan.

R=sigurds@chromium.org

Review URL: https://codereview.chromium.org/498243002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23354 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c69a9409
...@@ -414,7 +414,9 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() { ...@@ -414,7 +414,9 @@ OptimizedCompileJob::Status OptimizedCompileJob::CreateGraph() {
compiler::Pipeline pipeline(info()); compiler::Pipeline pipeline(info());
pipeline.GenerateCode(); pipeline.GenerateCode();
if (!info()->code().is_null()) { 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); return SetLastStatus(SUCCEEDED);
} }
} }
......
...@@ -335,7 +335,7 @@ DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") ...@@ -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_types, false, "use typed lowering in TurboFan")
DEFINE_BOOL(turbo_source_positions, false, DEFINE_BOOL(turbo_source_positions, false,
"track source code positions when building TurboFan IR") "track source code positions when building TurboFan IR")
DEFINE_BOOL(context_specialization, true, DEFINE_BOOL(context_specialization, false,
"enable context specialization in TurboFan") "enable context specialization in TurboFan")
DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan")
DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment