Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
314 Code::Flags flags = Code::ComputeFlags(Code::FUNCTION);
315 Handle<Code> code = CodeGenerator::MakeCodeEpilogue(&masm, flags, info);
316 code->set_optimizable(info->IsOptimizable() &&
319 code->set_self_optimization_header(cgen.has_self_optimization_header_);
320 cgen.PopulateDeoptimizationData(code);
321 cgen.PopulateTypeFeedbackInfo(code);
322 cgen.PopulateTypeFeedbackCells(code);
323 code->set_has_deoptimization_support(info->HasDeoptimizationSupport());
324 code->set_handler_table(*cgen.handler_table());
326 code->set_has_debug_break_slots(
328 code->set_compiled_optimizable(info->IsOptimizable());
330 code->set_allow_osr_at_loop_nesting_level(0);
331 code->set_profiler_ticks(0);
332 code->set_stack_check_table_offset(table_offset);
333 CodeGenerator::PrintCode(code, info);
334 info->SetCode(code); // May be an empty handle.
335 if (!code.is_null()) {
336 isolate->runtime_profiler()->NotifyCodeGenerated(code->instruction_size());
339 if (FLAG_gdbjit && !code.is_null()) {
343 GDBJIT(RegisterDetailedLineInfo(*code, lineinfo));
346 return !code.is_null();
353 // and code-relative pc offset.
366 void FullCodeGenerator::PopulateDeoptimizationData(Handle<Code> code) {
377 code->set_deoptimization_data(*data);
381 void FullCodeGenerator::PopulateTypeFeedbackInfo(Handle<Code> code) {
385 code->set_type_feedback_info(*info);
389 void FullCodeGenerator::PopulateTypeFeedbackCells(Handle<Code> code) {
399 TypeFeedbackInfo::cast(code->type_feedback_info())->set_type_feedback_cells(
416 // real state of the unoptimized code at the return site.
428 // There's no need to prepare this code for bailouts from already optimized
429 // code or code that can't be optimized.
612 // Invoke the platform-dependent code generator to do the actual
695 // position will be postponed to the breakable code (typically an IC).
721 // position will be postponed to the breakable code (typically an IC).
752 // Lookup table for code generators for special runtime calls which are
1141 // statement code starts.
1188 // statement code starts.
1223 // Exception handler code, the exception is in the result register.
1246 // Try block code. Sets up the exception handler chain.
1265 // calls the finally block code before continuing.
1268 // try handler and calls the finally block code before continuing
1273 // handler code. The handler code then calls the finally-block before
1283 // Jump to try-handler setup and try-block code.
1287 // Exception handler code. This code is only executed when an exception
1301 ExitFinallyBlock(); // Return to the calling code.