Home | History | Annotate | Download | only in src

Lines Matching refs:code

6 //     * Redistributions of source code must retain the above copyright
47 static Handle<Code> MakeCode(Handle<Context> context, CompilationInfo* info) {
54 return Handle<Code>::null();
79 return Handle<Code>::null();
82 // Generate code and return it. Code generator selection is governed by
84 // run-once code or not:
86 // --full-compiler enables the dedicated backend for code we expect to be
89 // non-run-once code)
148 it.frame()->pc() - it.frame()->code()->instruction_start());
179 // Compile the code.
181 Handle<Code> code = MakeCode(context, &info);
184 if (code.is_null()) {
190 // Log the code generation for the script. Check explicit whether logging is
197 *code, *data));
199 code->instruction_start(),
200 code->instruction_size());
203 *code, ""));
205 code->instruction_start(),
206 code->instruction_size());
215 code);
358 // Compute name, source code and script data.
387 // Compile the code.
388 Handle<Code> code = MakeCode(Handle<Context>::null(), info);
391 if (code.is_null()) {
402 code);
405 // Update the shared function info with the compiled code.
406 shared->set_code(*code);
417 // Check the function has compiled code.
440 // Generate code
441 Handle<Codecode;
443 code = ComputeLazyCompile(literal->num_parameters());
451 // Generate code and return it. The way that the compilation mode
463 code = FullCodeGenerator::MakeCode(&info);
473 code = FastCodeGenerator::MakeCode(&info);
479 // We fall back to the classic V8 code generator.
480 code = CodeGenerator::MakeCode(&info);
484 if (code.is_null()) {
497 code);
505 code);
551 Handle<Code> code) {
552 // Log the code generation. If source information is available
559 LOG(CodeCreateEvent(tag, *code, *func_name,
564 code->instruction_start(),
565 code->instruction_size());
567 LOG(CodeCreateEvent(tag, *code, *func_name));
569 code->instruction_start(),
570 code->instruction_size());