| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 1bab4a61797acd54807a10cd7baa9d15c4783e18..4c342f87734ba02ad54836f220baa43892540a34 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3991,7 +3991,7 @@ Expression* Parser::ParseObjectLiteral(bool* ok) {
|
| Expression* value = ParseAssignmentExpression(true, CHECK_OK);
|
|
|
| ObjectLiteral::Property* property =
|
| - new(zone()) ObjectLiteral::Property(key, value);
|
| + new(zone()) ObjectLiteral::Property(key, value, isolate());
|
|
|
| // Mark top-level object literals that contain function literals and
|
| // pretenure the literal so it can be added as a constant function
|
|
|