Chromium Code Reviews| 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..1802c43e5e702a15e937e46f5feaf660f94fe139 100644 |
| --- a/src/compiler/bytecode-graph-builder.cc |
| +++ b/src/compiler/bytecode-graph-builder.cc |
| @@ -960,7 +960,10 @@ void BytecodeGraphBuilder::VisitCreateObjectLiteral() { |
| int number_of_properties = constant_properties->length() / 2; |
| const Operator* op = javascript()->CreateLiteralObject( |
| constant_properties, literal_flags, literal_index, number_of_properties); |
| - BuildCreateLiteral(op); |
| + FrameStateBeforeAndAfter states(this); |
|
rmcilroy
2016/08/08 11:40:45
nit - move this to the top of the function (just e
klaasb
2016/08/09 08:49:07
Done.
|
| + Node* literal = NewNode(op, GetFunctionClosure()); |
|
rmcilroy
2016/08/08 11:40:45
just inline javascript()->CreateLiteralObject here
klaasb
2016/08/09 08:49:07
Done.
|
| + environment()->BindRegister(bytecode_iterator().GetRegisterOperand(3), |
| + literal, &states); |
| } |
| Node* BytecodeGraphBuilder::ProcessCallArguments(const Operator* call_op, |