| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 828 | 828 |
| 829 void bind(Label* L); // binds an unbound label L to the current code position | 829 void bind(Label* L); // binds an unbound label L to the current code position |
| 830 | 830 |
| 831 // Calls | 831 // Calls |
| 832 void call(Label* L); | 832 void call(Label* L); |
| 833 void call(byte* entry, RelocInfo::Mode rmode); | 833 void call(byte* entry, RelocInfo::Mode rmode); |
| 834 int CallSize(const Operand& adr); | 834 int CallSize(const Operand& adr); |
| 835 void call(const Operand& adr); | 835 void call(const Operand& adr); |
| 836 int CallSize(Handle<Code> code, RelocInfo::Mode mode); | 836 int CallSize(Handle<Code> code, RelocInfo::Mode mode); |
| 837 void call(Handle<Code> code, | 837 void call(Handle<Code> code, |
| 838 RelocInfo::Mode rmode, | 838 RelocInfo::Mode rmode = RelocInfo::CODE_TARGET, |
| 839 unsigned ast_id = kNoASTId); | 839 unsigned ast_id = kNoASTId); |
| 840 | 840 |
| 841 // Jumps | 841 // Jumps |
| 842 // unconditional jump to L | 842 // unconditional jump to L |
| 843 void jmp(Label* L, Label::Distance distance = Label::kFar); | 843 void jmp(Label* L, Label::Distance distance = Label::kFar); |
| 844 void jmp(byte* entry, RelocInfo::Mode rmode); | 844 void jmp(byte* entry, RelocInfo::Mode rmode); |
| 845 void jmp(const Operand& adr); | 845 void jmp(const Operand& adr); |
| 846 void jmp(Handle<Code> code, RelocInfo::Mode rmode); | 846 void jmp(Handle<Code> code, RelocInfo::Mode rmode); |
| 847 | 847 |
| 848 // Conditional jumps | 848 // Conditional jumps |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1138 private: | 1138 private: |
| 1139 Assembler* assembler_; | 1139 Assembler* assembler_; |
| 1140 #ifdef DEBUG | 1140 #ifdef DEBUG |
| 1141 int space_before_; | 1141 int space_before_; |
| 1142 #endif | 1142 #endif |
| 1143 }; | 1143 }; |
| 1144 | 1144 |
| 1145 } } // namespace v8::internal | 1145 } } // namespace v8::internal |
| 1146 | 1146 |
| 1147 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1147 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |