Home | History | Annotate | Download | only in src

Lines Matching refs:Script

123                                        Handle<Script> script,
132 script->set_context_data((*i::Top::global_context())->data());
137 script->set_compilation_type(
138 is_json ? Smi::FromInt(Script::COMPILATION_TYPE_JSON) :
139 Smi::FromInt(Script::COMPILATION_TYPE_EVAL));
145 script->set_eval_from_shared(
149 script->set_eval_from_instructions_offset(Smi::FromInt(offset));
155 Debugger::OnBeforeCompile(script);
163 MakeAST(is_global, script, extension, pre_data, is_json);
180 CompilationInfo info(lit, script, is_eval);
190 // Log the code generation for the script. Check explicit whether logging is
193 if (script->name()->IsString()) {
195 String::cast(script->name())->ToCString(DISALLOW_NULLS);
204 OProfileAgent::CreateNativeCodeRegion(is_eval ? "Eval" : "Script",
218 Compiler::SetFunctionInfo(fun, lit, true, script);
227 Debugger::OnAfterCompile(script, fun);
261 // No cache entry found. Do pre-parsing and compile the script.
269 // Create a script object describing the script to be compiled.
270 Handle<Script> script = Factory::NewScript(source);
272 script->set_type(Smi::FromInt(Script::TYPE_NATIVE));
275 script->set_name(*script_name);
276 script->set_line_offset(Smi::FromInt(line_offset));
277 script->set_column_offset(Smi::FromInt(column_offset));
280 script->set_data(script_data.is_null() ? Heap::undefined_value()
287 script,
330 // Create a script object describing the script to be compiled.
331 Handle<Script> script = Factory::NewScript(source);
335 script,
358 // Compute name, source code and script data.
369 FunctionLiteral* lit = MakeLazyAST(info->script(),
401 info->script(),
424 Handle<Script> script,
454 CompilationInfo info(literal, script, false);
496 script,
506 SetFunctionInfo(function, literal, false, script);
523 // in the full script source. When counting characters in the script source the
528 Handle<Script> script) {
531 fun->shared()->set_script(*script);
550 Handle<Script> script,
553 // include script name and line number. Check explicitly whether
557 if (script->name()->IsString()) {
558 int line_num = GetScriptLineNumber(script, start_position) + 1;
560 String::cast(script->name()), line_num));
562 String::cast(script->name()),