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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 // Apply a relocation by delta bytes | 366 // Apply a relocation by delta bytes |
367 INLINE(void apply(intptr_t delta)); | 367 INLINE(void apply(intptr_t delta)); |
368 | 368 |
369 // Is the pointer this relocation info refers to coded like a plain pointer | 369 // Is the pointer this relocation info refers to coded like a plain pointer |
370 // or is it strange in some way (e.g. relative or patched into a series of | 370 // or is it strange in some way (e.g. relative or patched into a series of |
371 // instructions). | 371 // instructions). |
372 bool IsCodedSpecially(); | 372 bool IsCodedSpecially(); |
373 | 373 |
374 // Read/modify the code target in the branch/call instruction | 374 // Read/modify the code target in the branch/call instruction |
375 // this relocation applies to; | 375 // this relocation applies to; |
376 // can only be called if IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY | 376 // can only be called if IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_) |
377 INLINE(Address target_address()); | 377 INLINE(Address target_address()); |
378 INLINE(void set_target_address(Address target, | 378 INLINE(void set_target_address(Address target, |
379 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); | 379 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); |
380 INLINE(Object* target_object()); | 380 INLINE(Object* target_object()); |
381 INLINE(Handle<Object> target_object_handle(Assembler* origin)); | 381 INLINE(Handle<Object> target_object_handle(Assembler* origin)); |
382 INLINE(Object** target_object_address()); | 382 INLINE(Object** target_object_address()); |
383 INLINE(void set_target_object(Object* target, | 383 INLINE(void set_target_object(Object* target, |
384 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); | 384 WriteBarrierMode mode = UPDATE_WRITE_BARRIER)); |
385 INLINE(Address target_runtime_entry(Assembler* origin)); | 385 INLINE(Address target_runtime_entry(Assembler* origin)); |
386 INLINE(void set_target_runtime_entry(Address target, | 386 INLINE(void set_target_runtime_entry(Address target, |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1023 public: | 1023 public: |
1024 NullCallWrapper() { } | 1024 NullCallWrapper() { } |
1025 virtual ~NullCallWrapper() { } | 1025 virtual ~NullCallWrapper() { } |
1026 virtual void BeforeCall(int call_size) const { } | 1026 virtual void BeforeCall(int call_size) const { } |
1027 virtual void AfterCall() const { } | 1027 virtual void AfterCall() const { } |
1028 }; | 1028 }; |
1029 | 1029 |
1030 } } // namespace v8::internal | 1030 } } // namespace v8::internal |
1031 | 1031 |
1032 #endif // V8_ASSEMBLER_H_ | 1032 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |