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 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1653 | 1653 |
1654 // Mark address of a debug break slot. | 1654 // Mark address of a debug break slot. |
1655 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 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, int raw_position); |
1664 | 1664 |
1665 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, | 1665 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, |
1666 ConstantPoolEntry::Access access, | 1666 ConstantPoolEntry::Access access, |
1667 ConstantPoolEntry::Type type) { | 1667 ConstantPoolEntry::Type type) { |
1668 // No embedded constant pool support. | 1668 // No embedded constant pool support. |
1669 UNREACHABLE(); | 1669 UNREACHABLE(); |
1670 } | 1670 } |
1671 | 1671 |
1672 // Writes a single word of data in the code stream. | 1672 // Writes a single word of data in the code stream. |
1673 // Used for inline tables, e.g., jump-tables. | 1673 // Used for inline tables, e.g., jump-tables. |
(...skipping 515 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 |