Do not print enforcing Ignition and TurboFan when --turbo is on

BUG=

Review-Url: https://codereview.chromium.org/2757543004
Cr-Commit-Position: refs/heads/master@{#44605}
This commit is contained in:
mic.besace 2017-04-12 03:32:43 -07:00 committed by Commit bot
parent 53f13a09ba
commit a5f91b3a95

View File

@ -714,7 +714,7 @@ bool AstNumberingVisitor::Renumber(FunctionLiteral* node) {
node->set_dont_optimize_reason(dont_optimize_reason());
node->set_suspend_count(suspend_count_);
if (FLAG_trace_opt) {
if (FLAG_trace_opt && !FLAG_turbo) {
if (disable_crankshaft_reason_ != kNoReason) {
// TODO(leszeks): This is a quick'n'dirty fix to allow the debug name of
// the function to be accessed in the below print. This DCHECK will fail