| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 5bdb08541f18d5075b5140dceea9d1fba4a88636..ceb3a518484e2cf5ff7ed5f15dac3ea16e3bd3f6 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -8,6 +8,7 @@
|
| #include "src/bootstrapper.h"
|
| #include "src/debug/debug.h"
|
| #include "src/isolate-inl.h"
|
| +#include "src/json-stringifier.h"
|
| #include "src/messages.h"
|
| #include "src/property-descriptor.h"
|
| #include "src/runtime/runtime.h"
|
| @@ -225,6 +226,15 @@ MaybeHandle<Object> Runtime::SetObjectProperty(Isolate* isolate,
|
| return value;
|
| }
|
|
|
| +MaybeHandle<Object> Runtime::BasicJsonStringify(Isolate* isolate,
|
| + Handle<Object> object) {
|
| + return BasicJsonStringifier(isolate).Stringify(object);
|
| +}
|
| +
|
| +MaybeHandle<Object> Runtime::BasicJsonStringifyString(Isolate* isolate,
|
| + Handle<String> string) {
|
| + return BasicJsonStringifier::StringifyString(isolate, string);
|
| +}
|
|
|
| RUNTIME_FUNCTION(Runtime_GetPrototype) {
|
| HandleScope scope(isolate);
|
|
|