| 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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 // the break points where straight-line code is patched with a call | 624 // the break points where straight-line code is patched with a call |
| 625 // instruction. | 625 // instruction. |
| 626 INLINE(Address debug_call_address()); | 626 INLINE(Address debug_call_address()); |
| 627 INLINE(void set_debug_call_address(Address target)); | 627 INLINE(void set_debug_call_address(Address target)); |
| 628 | 628 |
| 629 // Wipe out a relocation to a fixed value, used for making snapshots | 629 // Wipe out a relocation to a fixed value, used for making snapshots |
| 630 // reproducible. | 630 // reproducible. |
| 631 INLINE(void WipeOut()); | 631 INLINE(void WipeOut()); |
| 632 | 632 |
| 633 template<typename StaticVisitor> inline void Visit(Heap* heap); | 633 template<typename StaticVisitor> inline void Visit(Heap* heap); |
| 634 |
| 635 template <typename ObjectVisitor> |
| 634 inline void Visit(Isolate* isolate, ObjectVisitor* v); | 636 inline void Visit(Isolate* isolate, ObjectVisitor* v); |
| 635 | 637 |
| 636 // Check whether this debug break slot has been patched with a call to the | 638 // Check whether this debug break slot has been patched with a call to the |
| 637 // debugger. | 639 // debugger. |
| 638 bool IsPatchedDebugBreakSlotSequence(); | 640 bool IsPatchedDebugBreakSlotSequence(); |
| 639 | 641 |
| 640 #ifdef DEBUG | 642 #ifdef DEBUG |
| 641 // Check whether the given code contains relocation information that | 643 // Check whether the given code contains relocation information that |
| 642 // either is position-relative or movable by the garbage collector. | 644 // either is position-relative or movable by the garbage collector. |
| 643 static bool RequiresRelocation(const CodeDesc& desc); | 645 static bool RequiresRelocation(const CodeDesc& desc); |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 std::vector<ConstantPoolEntry> shared_entries; | 1322 std::vector<ConstantPoolEntry> shared_entries; |
| 1321 }; | 1323 }; |
| 1322 | 1324 |
| 1323 Label emitted_label_; // Records pc_offset of emitted pool | 1325 Label emitted_label_; // Records pc_offset of emitted pool |
| 1324 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1326 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
| 1325 }; | 1327 }; |
| 1326 | 1328 |
| 1327 } // namespace internal | 1329 } // namespace internal |
| 1328 } // namespace v8 | 1330 } // namespace v8 |
| 1329 #endif // V8_ASSEMBLER_H_ | 1331 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |