| 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 // Note: The same Label can be used for forward and backward branches | 688 // Note: The same Label can be used for forward and backward branches |
| 689 // but it may be bound only once. | 689 // but it may be bound only once. |
| 690 | 690 |
| 691 void bind(Label* L); // binds an unbound label L to the current code position | 691 void bind(Label* L); // binds an unbound label L to the current code position |
| 692 void bind(NearLabel* L); | 692 void bind(NearLabel* L); |
| 693 | 693 |
| 694 // Calls | 694 // Calls |
| 695 void call(Label* L); | 695 void call(Label* L); |
| 696 void call(byte* entry, RelocInfo::Mode rmode); | 696 void call(byte* entry, RelocInfo::Mode rmode); |
| 697 void call(const Operand& adr); | 697 void call(const Operand& adr); |
| 698 void call(const ExternalReference& target); | |
| 699 void call(Handle<Code> code, RelocInfo::Mode rmode); | 698 void call(Handle<Code> code, RelocInfo::Mode rmode); |
| 700 | 699 |
| 701 // Jumps | 700 // Jumps |
| 702 void jmp(Label* L); // unconditional jump to L | 701 void jmp(Label* L); // unconditional jump to L |
| 703 void jmp(byte* entry, RelocInfo::Mode rmode); | 702 void jmp(byte* entry, RelocInfo::Mode rmode); |
| 704 void jmp(const Operand& adr); | 703 void jmp(const Operand& adr); |
| 705 void jmp(Handle<Code> code, RelocInfo::Mode rmode); | 704 void jmp(Handle<Code> code, RelocInfo::Mode rmode); |
| 706 | 705 |
| 707 // Short jump | 706 // Short jump |
| 708 void jmp(NearLabel* L); | 707 void jmp(NearLabel* L); |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 private: | 978 private: |
| 980 Assembler* assembler_; | 979 Assembler* assembler_; |
| 981 #ifdef DEBUG | 980 #ifdef DEBUG |
| 982 int space_before_; | 981 int space_before_; |
| 983 #endif | 982 #endif |
| 984 }; | 983 }; |
| 985 | 984 |
| 986 } } // namespace v8::internal | 985 } } // namespace v8::internal |
| 987 | 986 |
| 988 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 987 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |