Commit 5749d710 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[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}
parent 3a9bfecf
......@@ -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;
}
......
......@@ -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]],
......
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