| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 1888dfed4c4ab3180121dfa04548b86667569602..f4aeb8cec3bf17ea3030b7fb2d80d01598bbe9e3 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -841,13 +841,6 @@ void AstGraphBuilder::Environment::UpdateStateValues(Node** state_values,
|
| }
|
|
|
|
|
| -void AstGraphBuilder::Environment::UpdateStateValuesWithCache(
|
| - Node** state_values, int offset, int count) {
|
| - Node** env_values = (count == 0) ? nullptr : &values()->at(offset);
|
| - *state_values = builder_->state_values_cache_.GetNodeForValues(
|
| - env_values, static_cast<size_t>(count));
|
| -}
|
| -
|
| Node* AstGraphBuilder::Environment::Checkpoint(BailoutId ast_id,
|
| OutputFrameStateCombine combine,
|
| bool owner_has_exception) {
|
| @@ -856,7 +849,7 @@ Node* AstGraphBuilder::Environment::Checkpoint(BailoutId ast_id,
|
| }
|
|
|
| UpdateStateValues(¶meters_node_, 0, parameters_count());
|
| - UpdateStateValuesWithCache(&locals_node_, parameters_count(), locals_count());
|
| + UpdateStateValues(&locals_node_, parameters_count(), locals_count());
|
| UpdateStateValues(&stack_node_, parameters_count() + locals_count(),
|
| stack_height());
|
|
|
|
|