| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 621ca104d880ab2ecdb43bddb3f194e5815c2d5e..dc40717e1c3398b75328fad6a3a640a1dbeaad96 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -950,6 +950,7 @@ void BytecodeGraphBuilder::VisitCreateArrayLiteral() {
|
| }
|
|
|
| void BytecodeGraphBuilder::VisitCreateObjectLiteral() {
|
| + FrameStateBeforeAndAfter states(this);
|
| Handle<FixedArray> constant_properties = Handle<FixedArray>::cast(
|
| bytecode_iterator().GetConstantForIndexOperand(0));
|
| int literal_index = bytecode_iterator().GetIndexOperand(1);
|
| @@ -958,9 +959,12 @@ void BytecodeGraphBuilder::VisitCreateObjectLiteral() {
|
| interpreter::CreateObjectLiteralFlags::FlagsBits::decode(bytecode_flags);
|
| // TODO(mstarzinger): Thread through number of properties.
|
| int number_of_properties = constant_properties->length() / 2;
|
| - const Operator* op = javascript()->CreateLiteralObject(
|
| - constant_properties, literal_flags, literal_index, number_of_properties);
|
| - BuildCreateLiteral(op);
|
| + Node* literal = NewNode(
|
| + javascript()->CreateLiteralObject(constant_properties, literal_flags,
|
| + literal_index, number_of_properties),
|
| + GetFunctionClosure());
|
| + environment()->BindRegister(bytecode_iterator().GetRegisterOperand(3),
|
| + literal, &states);
|
| }
|
|
|
| Node* BytecodeGraphBuilder::ProcessCallArguments(const Operator* call_op,
|
|
|