libraries/v8/runtime.cc
// Updates positions of a shared function info (first parameter) according
// to script source change. Text change is described in second parameter as
// array of groups of 3 numbers:
// (change_begin, change_end, change_end_new_position).
// Each group describes a change in text; groups are sorted by change_begin.
Updates positions of a shared function info (first parameter) according
to script source change. Text change is described in second parameter as
array of groups of 3 numbers:
(change_begin, change_end, change_end_new_position).
Each group describes a change in text; groups are sorted by change_begin.
Updates positions of a shared function info ( first parameter ) according to script source change . Text change is described in second parameter as array of groups of 3 numbers : ( change_begin change_end change_end_new_position ) . Each group describes a change in text ; groups are sorted by change_begin .
RUNTIME_FUNCTION(MaybeObject*, Runtime_LiveEditPatchFunctionPositions) {
  HandleScope scope(isolate);
  CHECK(isolate->debugger()->live_edit_enabled());
  ASSERT(args.length() == 2);
  CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_array, 0);
  CONVERT_ARG_HANDLE_CHECKED(JSArray, position_change_array, 1);
  return LiveEdit::PatchFunctionPositions(shared_array, position_change_array);
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_LiveEditPatchFunctionPositions ) { HandleScope scope ( isolate ) ; CHECK ( isolate -> debugger ( ) -> live_edit_enabled ( ) ) ; ASSERT ( args . length ( ) == 2 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSArray , shared_array , 0 ) ; CONVERT_ARG_HANDLE_CHECKED ( JSArray , position_change_array , 1 ) ; return LiveEdit :: PatchFunctionPositions ( shared_array , position_change_array ) ; }
Updates positions of a shared function info (first parameter) according
to script source change.
Updates positions of a shared function info ( first parameter ) according to script source change .