Lines Matching defs:code
8 // - Redistributions of source code must retain the above copyright notice,
33 // The original source code covered by the above license above has been modified
100 // code object moves.
111 // Patch the code at the current address with the supplied instructions.
116 // Indicate that code has changed.
121 // Patch the code at the current PC with a call to the target address.
128 // Create a code patcher.
131 // Add a label for checking the size of the code used for returning.
137 // Patch the code.
140 // Check that the size of the code generated is as expected.
214 && ((buf_[0] & 0x07) == reg.code()); // register codes match.
246 // existing code in it; see CodePatcher::CodePatcher(...).
262 // Finalize code (at this point overflow() may be true, but the gap ensures
265 // Set up code descriptor.
413 EMIT(0x50 | src.code());
427 EMIT(0x58 | dst.code());
504 EMIT(0xB8 | dst.code());
511 EMIT(0xB8 | dst.code());
518 EMIT(0xB8 | dst.code());
533 EMIT(0xC0 | src.code() << 3 | dst.code());
630 EMIT(0x90 | (src.is(eax) ? dst.code() : src.code()));
633 EMIT(0xC0 | src.code() << 3 | dst.code());
782 emit_operand(eax, op); // eax has same code as register al.
790 emit_operand(eax, op); // eax has same code as register ax.
798 EMIT(0xC8 | dst.code());
811 EMIT(0x48 | dst.code());
845 EMIT(0xE8 | reg.code());
878 EMIT(0x40 | dst.code());
899 EMIT(0xE0 | src.code());
906 EMIT(0xD8 | dst.code());
920 EMIT(0xD0 | dst.code());
962 EMIT(0xD0 | dst.code());
965 EMIT(0xD0 | dst.code());
976 EMIT(0xD8 | dst.code());
979 EMIT(0xD8 | dst.code());
990 EMIT(0xC8 | dst.code());
993 EMIT(0xC8 | dst.code());
1002 EMIT(0xC8 | dst.code());
1125 EMIT(0xC0 | reg.code());
1172 EMIT(0xC0 | reg.code());
1271 // Labels refer to positions in the (to be) generated code.
1275 // generated code. pos() is the position the label refers to.
1277 // Linked labels refer to unknown positions in the code
1310 // Relative to Code* heap object pointer.
1311 long_at_put(fixup_pos, pos + Code::kHeaderSize - kHeapObjectTag);
1393 int Assembler::CallSize(Handle<Code> code, RelocInfo::Mode rmode) {
1398 void Assembler::call(Handle<Code> code,
1406 emit(code, rmode, ast_id);
1456 void Assembler::jmp(Handle<Code> code, RelocInfo::Mode rmode) {
1460 emit(code, rmode);
1510 void Assembler::j(Condition cc, Handle<Code> code) {
1515 emit(code, RelocInfo::CODE_TARGET);
1914 EMIT(0xC0 | reg.code());
2274 XMMRegister code = XMMRegister::from_code(level);
2275 emit_sse_operand(code, src);
2457 Register ireg = { reg.code() };
2463 EMIT(0xC0 | dst.code() << 3 | src.code());
2468 EMIT(0xC0 | dst.code() << 3 | src.code());
2473 EMIT(0xC0 | (dst.code() << 3) | src.code());
2506 if (!own_buffer_) FATAL("external code buffer is too small");
2525 // sure to get into problems if we ever run uninitialized code.
2565 EMIT(op2 | dst.code());
2593 pc_[0] = (adr.buf_[0] & ~0x38) | (reg.code() << 3);