Lines Matching refs:script
18 // For a script finds all SharedFunctionInfo's in the heap that points
19 // to this script. Returns JSArray of SharedFunctionInfo wrapped
28 Handle<Script> script = Handle<Script>(Script::cast(script_value->value()));
38 if (shared->script() != *script) continue;
56 // For a script calculates compilation information about all its functions.
57 // The script source is explicitly specified by the second argument.
58 // The source of the actual script is not used, however it is important that
59 // all generated code keeps references to this particular instance of script.
62 // with the function itself going first. The root function is a script function.
67 CONVERT_ARG_CHECKED(JSValue, script, 0);
70 CHECK(script->value()->IsScript());
71 Handle<Script> script_handle = Handle<Script>(Script::cast(script->value()));
78 // Changes the source of the script to a new_source.
80 // the script with its original source and sends notification to debugger.
90 Handle<Script> original_script(Script::cast(original_script_value->value()));
96 Handle<Script> script_handle = Handle<Script>::cast(old_script);
97 return *Script::GetWrapper(script_handle);
130 // Connects SharedFunctionInfo to another script.
142 Script* script = Script::cast(JSValue::cast(*script_object)->value());
143 script_object = Handle<Object>(script, isolate);
177 // to script source change. Text change is described in second parameter as