Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 35a5ece1a2b38d42dd5cdf74618d3190dba77d80..01b8f2a50af4bb4169b1069239b956b7a6858eb4 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3255,6 +3255,7 @@ Node* AstGraphBuilder::BuildNewTargetVariable(Variable* new_target_var) { |
const Operator* op = |
javascript()->CallRuntime(Runtime::kGetOriginalConstructor, 0); |
Node* object = NewNode(op); |
+ PrepareFrameState(object, BailoutId::None()); |
// Assign the object to the {new.target} variable. This should never lazy |
// deopt, so it is fine to send invalid bailout id. |