| 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 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1312 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } | 1312 int SizeOfCodeGeneratedSince(Label* l) { return pc_offset() - l->pos(); } |
| 1313 | 1313 |
| 1314 // Mark address of the ExitJSFrame code. | 1314 // Mark address of the ExitJSFrame code. |
| 1315 void RecordJSReturn(); | 1315 void RecordJSReturn(); |
| 1316 | 1316 |
| 1317 // Mark address of a debug break slot. | 1317 // Mark address of a debug break slot. |
| 1318 void RecordDebugBreakSlot(); | 1318 void RecordDebugBreakSlot(); |
| 1319 | 1319 |
| 1320 // Record a comment relocation entry that can be used by a disassembler. | 1320 // Record a comment relocation entry that can be used by a disassembler. |
| 1321 // Use --code-comments to enable. | 1321 // Use --code-comments to enable. |
| 1322 void RecordComment(const char* msg); | 1322 void RecordComment(const char* msg, bool force = false); |
| 1323 | 1323 |
| 1324 // Writes a single word of data in the code stream. | 1324 // Writes a single word of data in the code stream. |
| 1325 // Used for inline tables, e.g., jump-tables. | 1325 // Used for inline tables, e.g., jump-tables. |
| 1326 void db(uint8_t data); | 1326 void db(uint8_t data); |
| 1327 void dd(uint32_t data); | 1327 void dd(uint32_t data); |
| 1328 | 1328 |
| 1329 int pc_offset() const { return static_cast<int>(pc_ - buffer_); } | 1329 int pc_offset() const { return static_cast<int>(pc_ - buffer_); } |
| 1330 | 1330 |
| 1331 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1331 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
| 1332 | 1332 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1580 private: | 1580 private: |
| 1581 Assembler* assembler_; | 1581 Assembler* assembler_; |
| 1582 #ifdef DEBUG | 1582 #ifdef DEBUG |
| 1583 int space_before_; | 1583 int space_before_; |
| 1584 #endif | 1584 #endif |
| 1585 }; | 1585 }; |
| 1586 | 1586 |
| 1587 } } // namespace v8::internal | 1587 } } // namespace v8::internal |
| 1588 | 1588 |
| 1589 #endif // V8_X64_ASSEMBLER_X64_H_ | 1589 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |