| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 INLINE(Address debug_call_address()); | 611 INLINE(Address debug_call_address()); |
| 612 INLINE(void set_debug_call_address(Address target)); | 612 INLINE(void set_debug_call_address(Address target)); |
| 613 | 613 |
| 614 // Wipe out a relocation to a fixed value, used for making snapshots | 614 // Wipe out a relocation to a fixed value, used for making snapshots |
| 615 // reproducible. | 615 // reproducible. |
| 616 INLINE(void WipeOut()); | 616 INLINE(void WipeOut()); |
| 617 | 617 |
| 618 template<typename StaticVisitor> inline void Visit(Heap* heap); | 618 template<typename StaticVisitor> inline void Visit(Heap* heap); |
| 619 inline void Visit(Isolate* isolate, ObjectVisitor* v); | 619 inline void Visit(Isolate* isolate, ObjectVisitor* v); |
| 620 | 620 |
| 621 // Check whether this return sequence has been patched | |
| 622 // with a call to the debugger. | |
| 623 INLINE(bool IsPatchedReturnSequence()); | |
| 624 | |
| 625 // Check whether this debug break slot has been patched with a call to the | 621 // Check whether this debug break slot has been patched with a call to the |
| 626 // debugger. | 622 // debugger. |
| 627 INLINE(bool IsPatchedDebugBreakSlotSequence()); | 623 bool IsPatchedDebugBreakSlotSequence(); |
| 628 | 624 |
| 629 #ifdef DEBUG | 625 #ifdef DEBUG |
| 630 // Check whether the given code contains relocation information that | 626 // Check whether the given code contains relocation information that |
| 631 // either is position-relative or movable by the garbage collector. | 627 // either is position-relative or movable by the garbage collector. |
| 632 static bool RequiresRelocation(const CodeDesc& desc); | 628 static bool RequiresRelocation(const CodeDesc& desc); |
| 633 #endif | 629 #endif |
| 634 | 630 |
| 635 #ifdef ENABLE_DISASSEMBLER | 631 #ifdef ENABLE_DISASSEMBLER |
| 636 // Printing | 632 // Printing |
| 637 static const char* RelocModeName(Mode rmode); | 633 static const char* RelocModeName(Mode rmode); |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1300 std::vector<ConstantPoolEntry> shared_entries; | 1296 std::vector<ConstantPoolEntry> shared_entries; |
| 1301 }; | 1297 }; |
| 1302 | 1298 |
| 1303 Label emitted_label_; // Records pc_offset of emitted pool | 1299 Label emitted_label_; // Records pc_offset of emitted pool |
| 1304 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1300 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
| 1305 }; | 1301 }; |
| 1306 | 1302 |
| 1307 } // namespace internal | 1303 } // namespace internal |
| 1308 } // namespace v8 | 1304 } // namespace v8 |
| 1309 #endif // V8_ASSEMBLER_H_ | 1305 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |