| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 28378a59a5d2fa6372e2bc73e49dd8953dfd8f13..de38f6d7347be34c621a7b07d45e2fc9f421094f 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1081,13 +1081,12 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| VisitForValue(property->value());
|
| Node* value = environment()->Pop();
|
| Node* receiver = environment()->Pop();
|
| - if (property->emit_store()) {
|
| - const Operator* op =
|
| - javascript()->CallRuntime(Runtime::kInternalSetPrototype, 2);
|
| - Node* set_prototype = NewNode(op, receiver, value);
|
| - // SetPrototype should not lazy deopt on an object literal.
|
| - PrepareFrameState(set_prototype, BailoutId::None());
|
| - }
|
| + DCHECK(property->emit_store());
|
| + const Operator* op =
|
| + javascript()->CallRuntime(Runtime::kInternalSetPrototype, 2);
|
| + Node* set_prototype = NewNode(op, receiver, value);
|
| + // SetPrototype should not lazy deopt on an object literal.
|
| + PrepareFrameState(set_prototype, BailoutId::None());
|
| break;
|
| }
|
| case ObjectLiteral::Property::GETTER:
|
|
|