| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index a58587dfbaa31e76cbde4aedf1b85ac9ea027c05..e85167057d29c5a24db2dba65947d5fa5a7d95c3 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -3215,7 +3215,8 @@ Node* AstGraphBuilder::BuildNewTargetVariable(Variable* new_target_var) {
|
| const Operator* op =
|
| javascript()->CallRuntime(Runtime::kGetOriginalConstructor, 0);
|
| Node* object = NewNode(op);
|
| - PrepareFrameState(object, BailoutId::None());
|
| + // TODO(4544): Bailout id only needed for JavaScriptFrame::Summarize.
|
| + PrepareFrameState(object, BailoutId::FunctionContext());
|
|
|
| // Assign the object to the {new.target} variable. This should never lazy
|
| // deopt, so it is fine to send invalid bailout id.
|
|
|