Commit a3e06f54 authored by jarin's avatar jarin Committed by Commit bot

[turbofan] Do not generate any framestates with --noturbo-deoptimization.

BUG=chromium:465701
LOG=n
R=bmeurer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27108}
parent d49657ed
...@@ -623,6 +623,8 @@ void AstGraphBuilder::Environment::UpdateStateValues(Node** state_values, ...@@ -623,6 +623,8 @@ void AstGraphBuilder::Environment::UpdateStateValues(Node** state_values,
Node* AstGraphBuilder::Environment::Checkpoint( Node* AstGraphBuilder::Environment::Checkpoint(
BailoutId ast_id, OutputFrameStateCombine combine) { BailoutId ast_id, OutputFrameStateCombine combine) {
if (!FLAG_turbo_deoptimization) return nullptr;
UpdateStateValues(&parameters_node_, 0, parameters_count()); UpdateStateValues(&parameters_node_, 0, parameters_count());
UpdateStateValues(&locals_node_, parameters_count(), locals_count()); UpdateStateValues(&locals_node_, parameters_count(), locals_count());
UpdateStateValues(&stack_node_, parameters_count() + locals_count(), UpdateStateValues(&stack_node_, parameters_count() + locals_count(),
......
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