From a2add48b86efc67e92bed4372aa6054208a864f4 Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Thu, 11 Sep 2014 09:44:44 +0000 Subject: [PATCH] Enable typed pipeline for TurboFan (again). R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/554413003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23859 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 5 ++++- src/flag-definitions.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index ce2ad6f..d43177e 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -139,8 +139,11 @@ void CompilationInfo::Initialize(Isolate* isolate, if (script_->type()->value() == Script::TYPE_NATIVE) MarkAsNative(); if (isolate_->debug()->is_active()) MarkAsDebug(); if (FLAG_context_specialization) MarkAsContextSpecializing(); - if (FLAG_turbo_types) MarkAsTypingEnabled(); if (FLAG_turbo_inlining) MarkAsInliningEnabled(); +#if !V8_TARGET_ARCH_ARM64 + // TODO(mstarzinger): Bugs in ARM64 back-end block enabling typed pipeline. + if (FLAG_turbo_types) MarkAsTypingEnabled(); +#endif if (!shared_info_.is_null()) { DCHECK(strict_mode() == SLOPPY); diff --git a/src/flag-definitions.h b/src/flag-definitions.h index 5e85389..78837fe 100644 --- a/src/flag-definitions.h +++ b/src/flag-definitions.h @@ -333,7 +333,7 @@ DEFINE_BOOL(trace_turbo_types, true, "trace generated TurboFan types") DEFINE_BOOL(trace_turbo_scheduler, false, "trace generated TurboFan scheduler") DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") -DEFINE_BOOL(turbo_types, false, "use typed lowering in TurboFan") +DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") DEFINE_BOOL(turbo_source_positions, false, "track source code positions when building TurboFan IR") DEFINE_BOOL(context_specialization, false, -- 2.7.4