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 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 void call(Address target); | 918 void call(Address target); |
919 | 919 |
920 // Call near absolute indirect, address in register | 920 // Call near absolute indirect, address in register |
921 void call(Register adr); | 921 void call(Register adr); |
922 | 922 |
923 // Jumps | 923 // Jumps |
924 // Jump short or near relative. | 924 // Jump short or near relative. |
925 // Use a 32-bit signed displacement. | 925 // Use a 32-bit signed displacement. |
926 // Unconditional jump to L | 926 // Unconditional jump to L |
927 void jmp(Label* L, Label::Distance distance = Label::kFar); | 927 void jmp(Label* L, Label::Distance distance = Label::kFar); |
928 void jmp(Address entry, RelocInfo::Mode rmode); | |
929 void jmp(Handle<Code> target, RelocInfo::Mode rmode); | 928 void jmp(Handle<Code> target, RelocInfo::Mode rmode); |
930 | 929 |
931 // Jump near absolute indirect (r64) | 930 // Jump near absolute indirect (r64) |
932 void jmp(Register adr); | 931 void jmp(Register adr); |
933 void jmp(const Operand& src); | 932 void jmp(const Operand& src); |
934 | 933 |
935 // Conditional jumps | 934 // Conditional jumps |
936 void j(Condition cc, | 935 void j(Condition cc, |
937 Label* L, | 936 Label* L, |
938 Label::Distance distance = Label::kFar); | 937 Label::Distance distance = Label::kFar); |
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2517 Assembler* assembler_; | 2516 Assembler* assembler_; |
2518 #ifdef DEBUG | 2517 #ifdef DEBUG |
2519 int space_before_; | 2518 int space_before_; |
2520 #endif | 2519 #endif |
2521 }; | 2520 }; |
2522 | 2521 |
2523 } // namespace internal | 2522 } // namespace internal |
2524 } // namespace v8 | 2523 } // namespace v8 |
2525 | 2524 |
2526 #endif // V8_X64_ASSEMBLER_X64_H_ | 2525 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |