| 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 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 INLINE(Address debug_call_address()); | 618 INLINE(Address debug_call_address()); |
| 619 INLINE(void set_debug_call_address(Address target)); | 619 INLINE(void set_debug_call_address(Address target)); |
| 620 | 620 |
| 621 // Wipe out a relocation to a fixed value, used for making snapshots | 621 // Wipe out a relocation to a fixed value, used for making snapshots |
| 622 // reproducible. | 622 // reproducible. |
| 623 INLINE(void WipeOut()); | 623 INLINE(void WipeOut()); |
| 624 | 624 |
| 625 template<typename StaticVisitor> inline void Visit(Heap* heap); | 625 template<typename StaticVisitor> inline void Visit(Heap* heap); |
| 626 inline void Visit(Isolate* isolate, ObjectVisitor* v); | 626 inline void Visit(Isolate* isolate, ObjectVisitor* v); |
| 627 | 627 |
| 628 // Patch the code with a call. | |
| 629 void PatchCodeWithCall(Address target, int guard_bytes); | |
| 630 | |
| 631 // Check whether this return sequence has been patched | 628 // Check whether this return sequence has been patched |
| 632 // with a call to the debugger. | 629 // with a call to the debugger. |
| 633 INLINE(bool IsPatchedReturnSequence()); | 630 INLINE(bool IsPatchedReturnSequence()); |
| 634 | 631 |
| 635 // Check whether this debug break slot has been patched with a call to the | 632 // Check whether this debug break slot has been patched with a call to the |
| 636 // debugger. | 633 // debugger. |
| 637 INLINE(bool IsPatchedDebugBreakSlotSequence()); | 634 INLINE(bool IsPatchedDebugBreakSlotSequence()); |
| 638 | 635 |
| 639 #ifdef DEBUG | 636 #ifdef DEBUG |
| 640 // Check whether the given code contains relocation information that | 637 // Check whether the given code contains relocation information that |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1293 std::vector<ConstantPoolEntry> shared_entries; | 1290 std::vector<ConstantPoolEntry> shared_entries; |
| 1294 }; | 1291 }; |
| 1295 | 1292 |
| 1296 Label emitted_label_; // Records pc_offset of emitted pool | 1293 Label emitted_label_; // Records pc_offset of emitted pool |
| 1297 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1294 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
| 1298 }; | 1295 }; |
| 1299 | 1296 |
| 1300 } // namespace internal | 1297 } // namespace internal |
| 1301 } // namespace v8 | 1298 } // namespace v8 |
| 1302 #endif // V8_ASSEMBLER_H_ | 1299 #endif // V8_ASSEMBLER_H_ |
| OLD | NEW |