libraries/v8/runtime.cc
// In a code of a parent function replaces original function as embedded object
// with a substitution one.
In a code of a parent function replaces original function as embedded object
with a substitution one.
In a code of a parent function replaces original function as embedded object with a substitution one .
RUNTIME_FUNCTION(MaybeObject*, Runtime_LiveEditReplaceRefToNestedFunction) {
  HandleScope scope(isolate);
  CHECK(isolate->debugger()->live_edit_enabled());
  ASSERT(args.length() == 3);
  CONVERT_ARG_HANDLE_CHECKED(JSValue, parent_wrapper, 0);
  CONVERT_ARG_HANDLE_CHECKED(JSValue, orig_wrapper, 1);
  CONVERT_ARG_HANDLE_CHECKED(JSValue, subst_wrapper, 2);
  LiveEdit::ReplaceRefToNestedFunction(parent_wrapper, orig_wrapper,
                                       subst_wrapper);
  return isolate->heap()->undefined_value();
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_LiveEditReplaceRefToNestedFunction ) { HandleScope scope ( isolate ) ; CHECK ( isolate -> debugger ( ) -> live_edit_enabled ( ) ) ; ASSERT ( args . length ( ) == 3 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSValue , parent_wrapper , 0 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSValue , orig_wrapper , 1 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSValue , subst_wrapper , 2 ) ; LiveEdit :: ReplaceRefToNestedFunction ( parent_wrapper , orig_wrapper , subst_wrapper ) ; return isolate -> heap ( ) -> undefined_value ( ) ; }
In a code of a parent function replaces original function as embedded object
with a substitution one.
In a code of a parent function replaces original function as embedded object with a substitution one .