Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 3125c59de374704c970d18886efca4d3e253d873..3541172b7f95936f59be0e1eea331a215d6eaef3 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1603,7 +1603,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Handle<JSObject> json_object = factory->NewJSObject(cons, TENURED); |
DCHECK(json_object->IsJSObject()); |
JSObject::AddProperty(global, name, json_object, DONT_ENUM); |
- SimpleInstallFunction(json_object, "parse", Builtins::kJsonParse, 2, true); |
+ SimpleInstallFunction(json_object, "parse", Builtins::kJsonParse, 2, false); |
SimpleInstallFunction(json_object, "stringify", Builtins::kJsonStringify, 3, |
true); |
Yang
2016/06/03 18:22:00
do we need to change this for JSON.stringify too?
|
JSObject::AddProperty( |