| 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 // j(cc, &L); // backward branch to bound label | 836 // j(cc, &L); // backward branch to bound label |
| 837 // bind(&L); // illegal: a label may be bound only once | 837 // bind(&L); // illegal: a label may be bound only once |
| 838 // | 838 // |
| 839 // Note: The same Label can be used for forward and backward branches | 839 // Note: The same Label can be used for forward and backward branches |
| 840 // but it may be bound only once. | 840 // but it may be bound only once. |
| 841 | 841 |
| 842 void bind(Label* L); // binds an unbound label L to the current code position | 842 void bind(Label* L); // binds an unbound label L to the current code position |
| 843 | 843 |
| 844 // Calls | 844 // Calls |
| 845 void call(Label* L); | 845 void call(Label* L); |
| 846 void wasm_call(uint32_t index, RelocInfo::Mode rmode); |
| 846 void call(byte* entry, RelocInfo::Mode rmode); | 847 void call(byte* entry, RelocInfo::Mode rmode); |
| 847 int CallSize(const Operand& adr); | 848 int CallSize(const Operand& adr); |
| 848 void call(Register reg) { call(Operand(reg)); } | 849 void call(Register reg) { call(Operand(reg)); } |
| 849 void call(const Operand& adr); | 850 void call(const Operand& adr); |
| 850 int CallSize(Handle<Code> code, RelocInfo::Mode mode); | 851 int CallSize(Handle<Code> code, RelocInfo::Mode mode); |
| 851 void call(Handle<Code> code, | 852 void call(Handle<Code> code, |
| 852 RelocInfo::Mode rmode, | 853 RelocInfo::Mode rmode, |
| 853 TypeFeedbackId id = TypeFeedbackId::None()); | 854 TypeFeedbackId id = TypeFeedbackId::None()); |
| 854 | 855 |
| 855 // Jumps | 856 // Jumps |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1607 Assembler* assembler_; | 1608 Assembler* assembler_; |
| 1608 #ifdef DEBUG | 1609 #ifdef DEBUG |
| 1609 int space_before_; | 1610 int space_before_; |
| 1610 #endif | 1611 #endif |
| 1611 }; | 1612 }; |
| 1612 | 1613 |
| 1613 } // namespace internal | 1614 } // namespace internal |
| 1614 } // namespace v8 | 1615 } // namespace v8 |
| 1615 | 1616 |
| 1616 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1617 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
| OLD | NEW |