| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 373c6ea4ff41ad9ad3b10e0b85820a118829a749..e550f511288f0ee4236e2feeff3dfada551439d4 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1627,7 +1627,7 @@ void AstGraphBuilder::VisitObjectLiteral(ObjectLiteral* expr) {
|
| BuildLoadObjectField(closure, JSFunction::kLiteralsOffset);
|
| Node* literal_index = jsgraph()->Constant(expr->literal_index());
|
| Node* constants = jsgraph()->Constant(expr->constant_properties());
|
| - Node* flags = jsgraph()->Constant(expr->ComputeFlags());
|
| + Node* flags = jsgraph()->Constant(expr->ComputeFlags(true));
|
| const Operator* op =
|
| javascript()->CallRuntime(Runtime::kCreateObjectLiteral, 4);
|
| Node* literal = NewNode(op, literals_array, literal_index, constants, flags);
|
| @@ -1819,7 +1819,7 @@ void AstGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) {
|
| BuildLoadObjectField(closure, JSFunction::kLiteralsOffset);
|
| Node* literal_index = jsgraph()->Constant(expr->literal_index());
|
| Node* constants = jsgraph()->Constant(expr->constant_elements());
|
| - Node* flags = jsgraph()->Constant(expr->ComputeFlags());
|
| + Node* flags = jsgraph()->Constant(expr->ComputeFlags(true));
|
| const Operator* op =
|
| javascript()->CallRuntime(Runtime::kCreateArrayLiteral, 4);
|
| Node* literal = NewNode(op, literals_array, literal_index, constants, flags);
|
|
|