| 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 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1993 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, | 1993 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
| 1994 int id); | 1994 int id); |
| 1995 | 1995 |
| 1996 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, | 1996 void PatchConstantPoolAccessInstruction(int pc_offset, int offset, |
| 1997 ConstantPoolEntry::Access access, | 1997 ConstantPoolEntry::Access access, |
| 1998 ConstantPoolEntry::Type type) { | 1998 ConstantPoolEntry::Type type) { |
| 1999 // No embedded constant pool support. | 1999 // No embedded constant pool support. |
| 2000 UNREACHABLE(); | 2000 UNREACHABLE(); |
| 2001 } | 2001 } |
| 2002 | 2002 |
| 2003 void RecordProtectedInstruction(int pc_offset, byte* landing_offset); |
| 2004 |
| 2003 // Writes a single word of data in the code stream. | 2005 // Writes a single word of data in the code stream. |
| 2004 // Used for inline tables, e.g., jump-tables. | 2006 // Used for inline tables, e.g., jump-tables. |
| 2005 void db(uint8_t data); | 2007 void db(uint8_t data); |
| 2006 void dd(uint32_t data); | 2008 void dd(uint32_t data); |
| 2007 void dq(uint64_t data); | 2009 void dq(uint64_t data); |
| 2008 void dp(uintptr_t data) { dq(data); } | 2010 void dp(uintptr_t data) { dq(data); } |
| 2009 void dq(Label* label); | 2011 void dq(Label* label); |
| 2010 | 2012 |
| 2011 // Check if there is less than kGap bytes available in the buffer. | 2013 // Check if there is less than kGap bytes available in the buffer. |
| 2012 // If this is the case, we need to grow the buffer before emitting | 2014 // If this is the case, we need to grow the buffer before emitting |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2528 Assembler* assembler_; | 2530 Assembler* assembler_; |
| 2529 #ifdef DEBUG | 2531 #ifdef DEBUG |
| 2530 int space_before_; | 2532 int space_before_; |
| 2531 #endif | 2533 #endif |
| 2532 }; | 2534 }; |
| 2533 | 2535 |
| 2534 } // namespace internal | 2536 } // namespace internal |
| 2535 } // namespace v8 | 2537 } // namespace v8 |
| 2536 | 2538 |
| 2537 #endif // V8_X64_ASSEMBLER_X64_H_ | 2539 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |