libraries/v8/runtime.cc
// Replaces code of SharedFunctionInfo with a new one.
Replaces code of SharedFunctionInfo with a new one.
Replaces code of SharedFunctionInfo with a new one .
RUNTIME_FUNCTION(MaybeObject*, Runtime_LiveEditReplaceFunctionCode) {
  HandleScope scope(isolate);
  CHECK(isolate->debugger()->live_edit_enabled());
  ASSERT(args.length() == 2);
  CONVERT_ARG_HANDLE_CHECKED(JSArray, new_compile_info, 0);
  CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 1);
  return LiveEdit::ReplaceFunctionCode(new_compile_info, shared_info);
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_LiveEditReplaceFunctionCode ) { HandleScope scope ( isolate ) ; CHECK ( isolate -> debugger ( ) -> live_edit_enabled ( ) ) ; ASSERT ( args . length ( ) == 2 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSArray , new_compile_info , 0 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSArray , shared_info , 1 ) ; return LiveEdit :: ReplaceFunctionCode ( new_compile_info , shared_info ) ; }
Replaces code of SharedFunctionInfo with a new one.
Replaces code of SharedFunctionInfo with a new one .