| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index a31e9d73ad547a30a59784fc8d6831d8087bd881..68cf58905f87e1f62e0d2186409657ba29861d39 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -3988,8 +3988,8 @@ Node* AstGraphBuilder::TryFastToName(Node* input) {
|
|
|
| bool AstGraphBuilder::CheckOsrEntry(IterationStatement* stmt) {
|
| if (info()->osr_ast_id() == stmt->OsrEntryId()) {
|
| - info()->set_osr_expr_stack_height(std::max(
|
| - environment()->stack_height(), info()->osr_expr_stack_height()));
|
| + DCHECK_EQ(-1, info()->osr_expr_stack_height());
|
| + info()->set_osr_expr_stack_height(environment()->stack_height());
|
| return true;
|
| }
|
| return false;
|
|
|