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
49 // compatible with int, which has caused code-generation bugs.
61 // code generated for some assembly instructions (because they boil down
62 // to a few constants). If this is a problem, we could change the code
65 // and best performance in optimized code.
80 static Register from_code(int code) {
81 ASSERT(code >= 0);
82 ASSERT(code < kNumRegisters);
83 Register r = { code };
90 int code() const {
134 return (reg.code() >= 6) ? reg.code() - 2 : reg.code();
152 ASSERT(reg.code() != 0);
153 return reg.code() - 1;
161 static IntelDoubleRegister from_code(int code) {
162 IntelDoubleRegister result = { code };
169 int code() const {
192 static XMMRegister from_code(int code) {
195 result.code_ = code;
465 // may be used together with a Label in order to refer to a yet unknown code
523 // // Generate SSE2 floating point code.
525 // // Generate standard x87 floating point code.
591 // for code generation and assumes its size to be buffer_size. If the buffer
598 // GetCode emits any pending (non-emitted) code and fills the descriptor
603 // Read/Modify the code target in the branch/call instruction at pc.
607 // Return the code target address at a call site from the return address
612 // This is for calls and branches within generated code.
619 // This is for calls and branches to runtime code.
627 // Distance between the address of the code target in the call instruction
661 // Code generation
677 // is obvious from the parameters to avoid hard-to-find code generation
685 // Aligns code to something that's optimal for a jump target for the platform.
891 void bind(Label* L); // binds an unbound label L to the current code position
899 int CallSize(Handle<Code> code, RelocInfo::Mode mode);
900 void call(Handle<Code> code,
910 void jmp(Handle<Code> code, RelocInfo::Mode rmode);
917 void j(Condition cc, Handle<Code> code);
1095 // Check the code size generated from label to here.
1100 // Mark address of the ExitJSFrame code.
1107 // Use --code-comments to enable, or provide "force = true" flag to always
1111 // Writes a single byte or word of data in the code stream. Used for
1157 // code emission
1164 inline void emit(Handle<Code> code,
1170 // Emit the code-object-relative offset of the label's position
1202 // code generation