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 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1645 | 1645 |
1646 // Check the code size generated from label to here. | 1646 // Check the code size generated from label to here. |
1647 int SizeOfCodeGeneratedSince(Label* label) { | 1647 int SizeOfCodeGeneratedSince(Label* label) { |
1648 return pc_offset() - label->pos(); | 1648 return pc_offset() - label->pos(); |
1649 } | 1649 } |
1650 | 1650 |
1651 // Mark generator continuation. | 1651 // Mark generator continuation. |
1652 void RecordGeneratorContinuation(); | 1652 void RecordGeneratorContinuation(); |
1653 | 1653 |
1654 // Mark address of a debug break slot. | 1654 // Mark address of a debug break slot. |
1655 void RecordDebugBreakSlot(RelocInfo::Mode mode, int argc = 0); | 1655 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
1656 | 1656 |
1657 // Record a comment relocation entry that can be used by a disassembler. | 1657 // Record a comment relocation entry that can be used by a disassembler. |
1658 // Use --code-comments to enable. | 1658 // Use --code-comments to enable. |
1659 void RecordComment(const char* msg); | 1659 void RecordComment(const char* msg); |
1660 | 1660 |
1661 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1661 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1662 // Use --trace-deopt to enable. | 1662 // Use --trace-deopt to enable. |
1663 void RecordDeoptReason(const int reason, const SourcePosition position); | 1663 void RecordDeoptReason(const int reason, const SourcePosition position); |
1664 | 1664 |
1665 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, | 1665 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2189 Assembler* assembler_; | 2189 Assembler* assembler_; |
2190 #ifdef DEBUG | 2190 #ifdef DEBUG |
2191 int space_before_; | 2191 int space_before_; |
2192 #endif | 2192 #endif |
2193 }; | 2193 }; |
2194 | 2194 |
2195 } // namespace internal | 2195 } // namespace internal |
2196 } // namespace v8 | 2196 } // namespace v8 |
2197 | 2197 |
2198 #endif // V8_X64_ASSEMBLER_X64_H_ | 2198 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |