Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index fdb3e076673720b9d42965774b6409b3f24638e1..ec2af52ec4d5b605c335b2d4a15a56fa73359920 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -1668,7 +1668,8 @@ void AstGraphBuilder::VisitClassLiteralContents(ClassLiteral* expr) { |
jsgraph()->Constant(property->NeedsSetFunctionName()); |
const Operator* op = |
javascript()->CallRuntime(Runtime::kDefineDataPropertyInLiteral); |
- NewNode(op, receiver, key, value, attr, set_function_name); |
+ Node* call = NewNode(op, receiver, key, value, attr, set_function_name); |
+ PrepareFrameState(call, BailoutId::None()); |
break; |
} |
case ObjectLiteral::Property::GETTER: { |
@@ -1916,7 +1917,8 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) { |
jsgraph()->Constant(property->NeedsSetFunctionName()); |
const Operator* op = |
javascript()->CallRuntime(Runtime::kDefineDataPropertyInLiteral); |
- NewNode(op, receiver, key, value, attr, set_function_name); |
+ Node* call = NewNode(op, receiver, key, value, attr, set_function_name); |
+ PrepareFrameState(call, expr->GetIdForPropertySet(property_index)); |
break; |
} |
case ObjectLiteral::Property::PROTOTYPE: |