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 1726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1737 | 1737 |
1738 // Mark address of a debug break slot. | 1738 // Mark address of a debug break slot. |
1739 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 1739 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
1740 | 1740 |
1741 // Record a comment relocation entry that can be used by a disassembler. | 1741 // Record a comment relocation entry that can be used by a disassembler. |
1742 // Use --code-comments to enable. | 1742 // Use --code-comments to enable. |
1743 void RecordComment(const char* msg); | 1743 void RecordComment(const char* msg); |
1744 | 1744 |
1745 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1745 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1746 // Use --trace-deopt to enable. | 1746 // Use --trace-deopt to enable. |
1747 void RecordDeoptReason(const int reason, int raw_position, int id); | 1747 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); |
1748 | 1748 |
1749 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, | 1749 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, |
1750 ConstantPoolEntry::Access access, | 1750 ConstantPoolEntry::Access access, |
1751 ConstantPoolEntry::Type type) { | 1751 ConstantPoolEntry::Type type) { |
1752 // No embedded constant pool support. | 1752 // No embedded constant pool support. |
1753 UNREACHABLE(); | 1753 UNREACHABLE(); |
1754 } | 1754 } |
1755 | 1755 |
1756 // Writes a single word of data in the code stream. | 1756 // Writes a single word of data in the code stream. |
1757 // Used for inline tables, e.g., jump-tables. | 1757 // Used for inline tables, e.g., jump-tables. |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2279 Assembler* assembler_; | 2279 Assembler* assembler_; |
2280 #ifdef DEBUG | 2280 #ifdef DEBUG |
2281 int space_before_; | 2281 int space_before_; |
2282 #endif | 2282 #endif |
2283 }; | 2283 }; |
2284 | 2284 |
2285 } // namespace internal | 2285 } // namespace internal |
2286 } // namespace v8 | 2286 } // namespace v8 |
2287 | 2287 |
2288 #endif // V8_X64_ASSEMBLER_X64_H_ | 2288 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |