| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 824ea92a0f7baee758f41b1eec9a529e9dc8a801..03731ba56cb12ccff81b57aa025557ae2788da99 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -1529,6 +1529,20 @@ RUNTIME_FUNCTION(Runtime_GetDebugContext) {
|
| return context->global_proxy();
|
| }
|
|
|
| +RUNTIME_FUNCTION(Runtime_GetLiveEditAPIObject) {
|
| + HandleScope scope(isolate);
|
| + DCHECK(args.length() == 0);
|
| +
|
| + Handle<Context> context;
|
| + {
|
| + DebugScope debug_scope(isolate->debug());
|
| + CHECK(!debug_scope.failed());
|
| + context = isolate->debug()->GetDebugContext();
|
| + CHECK(!context.is_null());
|
| + }
|
| +
|
| + return context->native_context()->debug_live_edit();
|
| +}
|
|
|
| // Performs a GC.
|
| // Presently, it only does a full GC.
|
|
|