Lines Matching refs:Code
8 // - Redistributions of source code must retain the above copyright notice,
31 // The original source code covered by the above license above has been
91 // compatible with int, which has caused code-generation bugs.
103 // code generated for some assembly instructions (because they boil down
104 // to a few constants). If this is a problem, we could change the code
107 // and best performance in optimized code.
110 enum Code {
118 static const int kNumRegisters = Code::kAfterLast;
120 static Register from_code(int code) {
121 DCHECK(code >= 0);
122 DCHECK(code < kNumRegisters);
123 Register r = {code};
128 int code() const {
153 enum Code {
161 static const int kMaxNumRegisters = Code::kAfterLast;
164 static X87Register from_code(int code) {
165 X87Register result = {code};
171 int code() const {
411 // may be used together with a Label in order to refer to a yet unknown code
483 // for code generation and assumes its size to be buffer_size. If the buffer
490 // GetCode emits any pending (non-emitted) code and fills the descriptor
495 // Read/Modify the code target in the branch/call instruction at pc.
500 static inline Address target_address_at(Address pc, Code* code);
502 Isolate* isolate, Address pc, Code* code, Address target,
505 // Return the code target address at a call site from the return address
510 code.
512 Isolate* isolate, Address instruction_payload, Code* code,
514 set_target_address_at(isolate, instruction_payload, code, target);
524 // Distance between the address of the code target in the call instruction
553 // Code generation
569 // is obvious from the parameters to avoid hard-to-find code generation
580 // Aligns code to something that's optimal for a jump target for the platform.
827 void bind(Label* L); // binds an unbound label L to the current code position
835 int CallSize(Handle<Code> code, RelocInfo::Mode mode);
836 void call(Handle<Code> code,
846 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
853 void j(Condition cc, Handle<Code> code,
950 // Check the code size generated from label to here.
959 // Use --code-comments to enable.
967 // Writes a single byte or word of data in the code stream. Used for
1016 // code emission
1023 inline void emit(Handle<Code> code,
1031 // Emit the code-object-relative offset of the label's position
1070 // code generation