[compiler] Fix TurboFan to respect kOptimizeFromBytecode.

This ensures that the TurboFan pipeline is respecting the flag on the
CompilationInfo controlling whether to use the BytecodeGraphBuilder or
the AstGraphBuilder when ensuring deoptimization support.

R=rmcilroy@chromium.org
BUG=chromium:607871
LOG=n

Review-Url: https://codereview.chromium.org/1934563002
Cr-Commit-Position: refs/heads/master@{#35904}
This commit is contained in:
mstarzinger 2016-04-29 05:04:18 -07:00 committed by Commit bot
parent 3a9bfecfe4
commit 5749d710bc
2 changed files with 1 additions and 4 deletions

View File

@ -538,7 +538,7 @@ PipelineCompilationJob::Status PipelineCompilationJob::CreateGraphImpl() {
if (!info()->shared_info()->asm_function() || FLAG_turbo_asm_deoptimization) {
info()->MarkAsDeoptimizationEnabled();
}
if (!info()->shared_info()->HasBytecodeArray()) {
if (!info()->is_optimizing_from_bytecode()) {
if (!Compiler::EnsureDeoptimizationSupport(info())) return FAILED;
}

View File

@ -152,9 +152,6 @@
# TODO(turbofan): The escape analysis needs some investigation.
'compiler/escape-analysis-*': [PASS, NO_VARIANTS],
# TODO(mstarzinger): Fails in --turbo --always-opt mode.
'ignition/ignition-statistics-extension': [PASS, NO_VARIANTS],
##############################################################################
# Too slow in debug mode with --stress-opt mode.
'compiler/regress-stacktrace-methods': [PASS, ['mode == debug', SKIP]],