| Index: src/json-parser.h
|
| diff --git a/src/json-parser.h b/src/json-parser.h
|
| index 9234e85aa20d171fcad6a1f27a5317457debee1b..8ed2e84059cfb7aa9fe74e4ff0b3db16ae71cc45 100644
|
| --- a/src/json-parser.h
|
| +++ b/src/json-parser.h
|
| @@ -434,7 +434,7 @@
|
| // Commit the intermediate state to the object and stop transitioning.
|
| CommitStateToJsonObject(json_object, map, &properties);
|
|
|
| - Runtime::DefineObjectProperty(json_object, key, value, NONE).Check();
|
| + JSObject::DefinePropertyOrElement(json_object, key, value).Check();
|
| } while (transitioning && MatchSkipWhiteSpace(','));
|
|
|
| // If we transitioned until the very end, transition the map now.
|
| @@ -470,7 +470,7 @@
|
| value = ParseJsonValue();
|
| if (value.is_null()) return ReportUnexpectedCharacter();
|
|
|
| - Runtime::DefineObjectProperty(json_object, key, value, NONE).Check();
|
| + JSObject::DefinePropertyOrElement(json_object, key, value).Check();
|
| }
|
| }
|
|
|
|
|