| 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 1975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1986 | 1986 |
| 1987 // Mark address of a debug break slot. | 1987 // Mark address of a debug break slot. |
| 1988 void RecordDebugBreakSlot(RelocInfo::Mode mode); | 1988 void RecordDebugBreakSlot(RelocInfo::Mode mode); |
| 1989 | 1989 |
| 1990 // Record a comment relocation entry that can be used by a disassembler. | 1990 // Record a comment relocation entry that can be used by a disassembler. |
| 1991 // Use --code-comments to enable. | 1991 // Use --code-comments to enable. |
| 1992 void RecordComment(const char* msg); | 1992 void RecordComment(const char* msg); |
| 1993 | 1993 |
| 1994 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1994 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1995 // Use --trace-deopt to enable. | 1995 // Use --trace-deopt to enable. |
| 1996 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); | 1996 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
| 1997 int id); |
| 1997 | 1998 |
| 1998 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, | 1999 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, |
| 1999 ConstantPoolEntry::Access access, | 2000 ConstantPoolEntry::Access access, |
| 2000 ConstantPoolEntry::Type type) { | 2001 ConstantPoolEntry::Type type) { |
| 2001 // No embedded constant pool support. | 2002 // No embedded constant pool support. |
| 2002 UNREACHABLE(); | 2003 UNREACHABLE(); |
| 2003 } | 2004 } |
| 2004 | 2005 |
| 2005 // Writes a single word of data in the code stream. | 2006 // Writes a single word of data in the code stream. |
| 2006 // Used for inline tables, e.g., jump-tables. | 2007 // Used for inline tables, e.g., jump-tables. |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2530 Assembler* assembler_; | 2531 Assembler* assembler_; |
| 2531 #ifdef DEBUG | 2532 #ifdef DEBUG |
| 2532 int space_before_; | 2533 int space_before_; |
| 2533 #endif | 2534 #endif |
| 2534 }; | 2535 }; |
| 2535 | 2536 |
| 2536 } // namespace internal | 2537 } // namespace internal |
| 2537 } // namespace v8 | 2538 } // namespace v8 |
| 2538 | 2539 |
| 2539 #endif // V8_X64_ASSEMBLER_X64_H_ | 2540 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |