| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 // Apply a relocation by delta bytes | 185 // Apply a relocation by delta bytes |
| 186 INLINE(void apply(intptr_t delta)); | 186 INLINE(void apply(intptr_t delta)); |
| 187 | 187 |
| 188 // Read/modify the code target in the branch/call instruction | 188 // Read/modify the code target in the branch/call instruction |
| 189 // this relocation applies to; | 189 // this relocation applies to; |
| 190 // can only be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY | 190 // can only be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY |
| 191 INLINE(Address target_address()); | 191 INLINE(Address target_address()); |
| 192 INLINE(void set_target_address(Address target)); | 192 INLINE(void set_target_address(Address target)); |
| 193 INLINE(Object* target_object()); | 193 INLINE(Object* target_object()); |
| 194 INLINE(Handle<Object> target_object_handle(Assembler* origin)); |
| 194 INLINE(Object** target_object_address()); | 195 INLINE(Object** target_object_address()); |
| 195 INLINE(void set_target_object(Object* target)); | 196 INLINE(void set_target_object(Object* target)); |
| 196 | 197 |
| 197 // Read the address of the word containing the target_address. Can only | 198 // Read the address of the word containing the target_address. Can only |
| 198 // be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY. | 199 // be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY. |
| 199 INLINE(Address target_address_address()); | 200 INLINE(Address target_address_address()); |
| 200 | 201 |
| 201 // Read/modify the reference in the instruction this relocation | 202 // Read/modify the reference in the instruction this relocation |
| 202 // applies to; can only be called if rmode_ is external_reference | 203 // applies to; can only be called if rmode_ is external_reference |
| 203 INLINE(Address* target_reference_address()); | 204 INLINE(Address* target_reference_address()); |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 static inline bool is_uint5(int x) { return is_uintn(x, 5); } | 492 static inline bool is_uint5(int x) { return is_uintn(x, 5); } |
| 492 static inline bool is_uint6(int x) { return is_uintn(x, 6); } | 493 static inline bool is_uint6(int x) { return is_uintn(x, 6); } |
| 493 static inline bool is_uint8(int x) { return is_uintn(x, 8); } | 494 static inline bool is_uint8(int x) { return is_uintn(x, 8); } |
| 494 static inline bool is_uint12(int x) { return is_uintn(x, 12); } | 495 static inline bool is_uint12(int x) { return is_uintn(x, 12); } |
| 495 static inline bool is_uint16(int x) { return is_uintn(x, 16); } | 496 static inline bool is_uint16(int x) { return is_uintn(x, 16); } |
| 496 static inline bool is_uint24(int x) { return is_uintn(x, 24); } | 497 static inline bool is_uint24(int x) { return is_uintn(x, 24); } |
| 497 | 498 |
| 498 } } // namespace v8::internal | 499 } } // namespace v8::internal |
| 499 | 500 |
| 500 #endif // V8_ASSEMBLER_H_ | 501 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |