Lines Matching refs:Script
605 static void CompileScriptForTracker(Isolate* isolate, Handle<Script> script) {
610 CompilationInfoWithZone info(script);
855 // Saves only function code, because for a script function we
937 JSArray* LiveEdit::GatherCompileInfo(Handle<Script> script,
939 Isolate* isolate = script->GetIsolate();
943 Handle<Object>(script->source(), isolate);
944 script->set_source(*source);
954 CompileScriptForTracker(isolate, script);
968 if (exception->IsJSObject() && !message_location.script().is_null()) {
981 Handle<JSValue> script_obj = GetScriptWrapper(message_location.script());
993 script->set_source(*original_source);
1369 // For a script text change (defined as position_change_array), translates
1572 static Handle<Script> CreateScriptCopy(Handle<Script> original) {
1576 Handle<Script> copy = isolate->factory()->NewScript(original_source);
1590 copy->set_compilation_state(Script::COMPILATION_STATE_INITIAL);
1596 Object* LiveEdit::ChangeScriptSource(Handle<Script> original_script,
1602 Handle<Script> old_script = CreateScriptCopy(original_script);