Home | History | Annotate | Download | only in x64

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
156 // Patch the code at the current PC with a call to the target address.
164 // Create a code patcher.
167 // Add a label for checking the size of the code used for returning.
173 // Patch the code.
177 // Check that the size of the code generated is as expected.
189 // Patch the code at the current address with the supplied instructions.
194 // Indicate that code has changed.
314 int code = reg.code();
319 if (base_code == rsp.code()) {
323 // Index code (including REX.X) of 0x04 (rsp) means no index register.
324 if (index_code != rsp.code() && index_code == code) return true;
325 // Add REX.B to get the full base register code.
328 if (base_code == rbp.code() && ((buf_[0] & 0xC0) == 0)) return false;
329 return code == base_code;
333 if (base_code == rbp.code() && ((buf_[0] & 0xC0) == 0)) return false;
335 return code == base_code;
379 // existing code in it.
412 // Finalize code (at this point overflow() may be true, but the gap ensures
415 // Set up code descriptor.
419 ASSERT(desc->instr_size > 0); // Zero-size code objects upset the system.
489 if (!own_buffer_) FATAL("external code buffer is too small");
512 // sure to get into problems if we ever run uninitialized code.
554 void Assembler::emit_operand(int code, const Operand& adr) {
555 ASSERT(is_uint3(code));
561 pc_[0] = adr.buf_[0] | code << 3;
876 void Assembler::call(Handle<Code> target,
908 // Should only ever be used in Code objects for calls within the
909 // same Code object. Should not be used when generating new code (use labels),
910 // but only when patching existing code.
1274 Handle<Code> target,
1327 void Assembler::jmp(Handle<Code> target, RelocInfo::Mode rmode) {
2034 emit_operand(rax, op); // Operation code 0
2094 emit_operand(rax, op); // Operation code 0
2966 Register ireg = { reg.code() };