| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index b01016cbeec05f47943d6bbdba1d82c0848436c9..bed454932eaed3b5f9f3658ac508a40e897207e9 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1509,17 +1509,7 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| switch (property->kind()) {
|
| case ObjectLiteral::Property::CONSTANT:
|
| case ObjectLiteral::Property::COMPUTED:
|
| - case ObjectLiteral::Property::MATERIALIZED_LITERAL: {
|
| - if (!property->emit_store()) continue;
|
| - Node* attr = jsgraph()->Constant(NONE);
|
| - Node* set_function_name =
|
| - jsgraph()->Constant(property->NeedsSetFunctionName());
|
| - const Operator* op =
|
| - javascript()->CallRuntime(Runtime::kDefineDataPropertyInLiteral);
|
| - Node* call = NewNode(op, receiver, key, value, attr, set_function_name);
|
| - PrepareFrameState(call, expr->GetIdForPropertySet(property_index));
|
| - break;
|
| - }
|
| + case ObjectLiteral::Property::MATERIALIZED_LITERAL:
|
| case ObjectLiteral::Property::PROTOTYPE:
|
| UNREACHABLE(); // Handled specially above.
|
| break;
|
|
|