| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 | 778 |
| 779 // Returns the branch offset to the given label from the current code position | 779 // Returns the branch offset to the given label from the current code position |
| 780 // Links the label to the current position if it is still unbound | 780 // Links the label to the current position if it is still unbound |
| 781 // Manages the jump elimination optimization if the second parameter is true. | 781 // Manages the jump elimination optimization if the second parameter is true. |
| 782 int branch_offset(Label* L, bool jump_elimination_allowed); | 782 int branch_offset(Label* L, bool jump_elimination_allowed); |
| 783 | 783 |
| 784 // Return the address in the constant pool of the code target address used by | 784 // Return the address in the constant pool of the code target address used by |
| 785 // the branch/call instruction at pc, or the object in a mov. | 785 // the branch/call instruction at pc, or the object in a mov. |
| 786 INLINE(static Address target_pointer_address_at(Address pc)); | 786 INLINE(static Address target_pointer_address_at(Address pc)); |
| 787 | 787 |
| 788 // Read/Modify the pointer in the branch/call/move instruction at pc. | |
| 789 INLINE(static Address target_pointer_at(Address pc)); | |
| 790 INLINE(static void set_target_pointer_at(Address pc, Address target)); | |
| 791 | |
| 792 // Read/Modify the code target address in the branch/call instruction at pc. | 788 // Read/Modify the code target address in the branch/call instruction at pc. |
| 793 INLINE(static Address target_address_at(Address pc)); | 789 INLINE(static Address target_address_at(Address pc)); |
| 794 INLINE(static void set_target_address_at(Address pc, Address target)); | 790 INLINE(static void set_target_address_at(Address pc, Address target)); |
| 795 | 791 |
| 796 // Return the code target address at a call site from the return address | 792 // Return the code target address at a call site from the return address |
| 797 // of that call in the instruction stream. | 793 // of that call in the instruction stream. |
| 798 INLINE(static Address target_address_from_return_address(Address pc)); | 794 INLINE(static Address target_address_from_return_address(Address pc)); |
| 799 | 795 |
| 800 // Given the address of the beginning of a call, return the address | 796 // Given the address of the beginning of a call, return the address |
| 801 // in the instruction stream that the call will return from. | 797 // in the instruction stream that the call will return from. |
| (...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 public: | 1607 public: |
| 1612 explicit EnsureSpace(Assembler* assembler) { | 1608 explicit EnsureSpace(Assembler* assembler) { |
| 1613 assembler->CheckBuffer(); | 1609 assembler->CheckBuffer(); |
| 1614 } | 1610 } |
| 1615 }; | 1611 }; |
| 1616 | 1612 |
| 1617 | 1613 |
| 1618 } } // namespace v8::internal | 1614 } } // namespace v8::internal |
| 1619 | 1615 |
| 1620 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1616 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |