Home | History | Annotate | Download | only in ia32

Lines Matching refs:code

6 //     * Redistributions of source code must retain the above copyright
48 void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) {
49 Isolate* isolate = code->GetIsolate();
52 // Compute the size of relocation information needed for the code
57 DeoptimizationInputData::cast(code->deoptimization_data());
77 int reloc_length = code->relocation_info()->length();
94 code->relocation_info()->GetDataStartAddress(),
111 // Replace relocation information on the code object.
112 code->set_relocation_info(*new_reloc);
117 void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) {
118 Address code_start_address = code->instruction_start();
119 // We will overwrite the code's relocation info in-place. Relocation info
123 ByteArray* reloc_info = code->relocation_info();
132 // existing code will not be used again (we zap it in debug builds).
136 DeoptimizationInputData::cast(code->deoptimization_data());
157 ASSERT(call_address + patch_size() <= code->instruction_end());
166 code->relocation_start(), reloc_info_writer.pos(), new_reloc_size);
186 // The back edge bookkeeping code matches the pattern:
201 void Deoptimizer::PatchInterruptCodeAt(Code* unoptimized_code,
203 Code* interrupt_code,
204 Code* replacement_code) {
222 void Deoptimizer::RevertInterruptCodeAt(Code* unoptimized_code,
224 Code* interrupt_code,
225 Code* replacement_code) {
244 bool Deoptimizer::InterruptCodeIsPatched(Code* unoptimized_code,
246 Code* interrupt_code,
247 Code* replacement_code) {
337 input_->GetRegister(ebp.code()),
338 input_->GetRegister(esp.code()));
400 int frame_pointer = input_->GetRegister(ebp.code());
429 output_[0]->SetRegister(ebp.code(), frame_pointer);
430 output_[0]->SetRegister(esi.code(), input_->GetRegister(esi.code()));
437 Code* continuation =
460 input_->SetRegister(esp.code(), reinterpret_cast<intptr_t>(frame->sp()));
461 input_->SetRegister(ebp.code(), reinterpret_cast<intptr_t>(frame->fp()));
481 output_frame->SetRegister(eax.code(), params);
482 output_frame->SetRegister(ebx.code(), handler);
536 // Get the address of the location in the code object
550 __ mov(Operand(esp, 3 * kPointerSize), ecx); // Code address or 0.
583 // and check that the generated code never deoptimizes with unbalanced stack.