libraries/v8/runtime.cc
// For a script calculates compilation information about all its functions.
// The script source is explicitly specified by the second argument.
// The source of the actual script is not used, however it is important that
// all generated code keeps references to this particular instance of script.
// Returns a JSArray of compilation infos. The array is ordered so that
// each function with all its descendant is always stored in a continues range
// with the function itself going first. The root function is a script function.
For a script calculates compilation information about all its functions.
The script source is explicitly specified by the second argument.
The source of the actual script is not used, however it is important that
all generated code keeps references to this particular instance of script.
Returns a JSArray of compilation infos. The array is ordered so that
each function with all its descendant is always stored in a continues range
with the function itself going first. The root function is a script function.
For a script calculates compilation information about all its functions . The script source is explicitly specified by the second argument . The source of the actual script is not used however it is important that all generated code keeps references to this particular instance of script . Returns a JSArray of compilation infos . The array is ordered so that each function with all its descendant is always stored in a continues range with the function itself going first . The root function is a script function .
RUNTIME_FUNCTION(MaybeObject*, Runtime_LiveEditGatherCompileInfo) {
  HandleScope scope(isolate);
  CHECK(isolate->debugger()->live_edit_enabled());
  ASSERT(args.length() == 2);
  CONVERT_ARG_CHECKED(JSValue, script, 0);
  CONVERT_ARG_HANDLE_CHECKED(String, source, 1);
  RUNTIME_ASSERT(script->value()->IsScript());
  Handle<Script> script_handle = Handle<Script>(Script::cast(script->value()));
  JSArray* result =  LiveEdit::GatherCompileInfo(script_handle, source);
  if (isolate->has_pending_exception()) {
    return Failure::Exception();
  }
  return result;
}
RUNTIME_FUNCTION ( MaybeObject * , Runtime_LiveEditGatherCompileInfo ) { HandleScope scope ( isolate ) ; CHECK ( isolate -> debugger ( ) -> live_edit_enabled ( ) ) ; ASSERT ( args . length ( ) == 2 ) ; CONVERT_ARG_CHECKED ( JSValue , script , 0 ) ; CONVERT_ARG_HANDLE_CHECKED ( String , source , 1 ) ; RUNTIME_ASSERT ( script -> value ( ) -> IsScript ( ) ) ; Handle < Script > script_handle = Handle < Script > ( Script :: cast ( script -> value ( ) ) ) ; JSArray * result = LiveEdit :: GatherCompileInfo ( script_handle , source ) ; if ( isolate -> has_pending_exception ( ) ) { return Failure :: Exception ( ) ; } return result ; }
For a script calculates compilation information about all its functions.
For a script calculates compilation information about all its functions .