Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
33 #include "code-stubs.h"
75 // MANUAL indicates that the scope shouldn't actually generate code to set up
87 void LCodeGen::FinishCode(Handle<Code> code) {
89 code->set_stack_slots(GetStackSlotCount());
90 code->set_safepoint_table_offset(safepoints_.GetCodeOffset());
91 PopulateDeoptimizationData(code);
158 // Reserve space for the stack slots needed by the code.
264 LDeferredCode* code = deferred_[i];
265 __ bind(code->entry());
266 Comment(";;; Deferred code @%d: %s.",
267 code->instruction_index(),
268 code->instr()->Mnemonic());
269 code->Generate();
270 __ jmp(code->exit());
274 // Deferred code is the last part of the instruction sequence. Mark
275 // the generated code as done unless we bailed out.
451 void LCodeGen::CallCodeGeneric(Handle<Code> code,
456 EnsureSpaceForLazyDeopt(Deoptimizer::patch_size() - masm()->CallSize(code));
460 __ call(code, mode);
463 // Signal that we don't inline smi code before these stubs in the
464 // optimizing code generator.
465 if (code->kind() == Code::BINARY_OP_IC ||
466 code->kind() == Code::COMPARE_IC) {
472 void LCodeGen::CallCode(Handle<Code> code,
475 CallCodeGeneric(code, mode, instr, RECORD_SIMPLE_SAFEPOINT, 0);
562 void LCodeGen::PopulateDeoptimizationData(Handle<Code> code) {
591 code->set_deoptimization_data(*data);
1281 Comment("Unreachable code.");
1349 __ nop(); // Signals no inlined code.
1742 Handle<Code> ic = CompareIC::GetUninitialized(op);
1843 // Faster code path to avoid two compares: subtract lower bound from the
1959 __ bind(deferred->map_check()); // Label for calculating code patching.
1968 // Check that the code size between patch label and patch sites is invariant.
1976 // before calling the deferred code.
2041 Handle<Code> ic = CompareIC::GetUninitialized(op);
2086 Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize();
2122 Handle<Code> ic = (instr->strict_mode_flag() == kStrictMode)
2232 Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize();
2254 Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize();
2270 Handle<Code> ic = isolate()->builtins()->LoadIC_Initialize();
2471 // happens, and generate code that returns a double rather than int.
2492 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Initialize();
3192 Handle<Code> ic =
3204 Handle<Code> ic =
3227 Handle<Code> ic =
3306 Handle<Code> ic = (instr->strict_mode_flag() == kStrictMode)
3445 Handle<Code> ic = (instr->strict_mode_flag() == kStrictMode)
4389 // Use the fast case closure allocation code that allocates in new
4548 // instruction for patching the code here.
4656 // the deferred code.