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 1444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1455 // Mark address of the ExitJSFrame code. | 1455 // Mark address of the ExitJSFrame code. |
1456 void RecordJSReturn(); | 1456 void RecordJSReturn(); |
1457 | 1457 |
1458 // Mark address of a debug break slot. | 1458 // Mark address of a debug break slot. |
1459 void RecordDebugBreakSlot(); | 1459 void RecordDebugBreakSlot(); |
1460 | 1460 |
1461 // Record a comment relocation entry that can be used by a disassembler. | 1461 // Record a comment relocation entry that can be used by a disassembler. |
1462 // Use --code-comments to enable. | 1462 // Use --code-comments to enable. |
1463 void RecordComment(const char* msg, bool force = false); | 1463 void RecordComment(const char* msg, bool force = false); |
1464 | 1464 |
| 1465 // Generate the constant pool for the generated code. |
| 1466 void PopulateConstantPool(ConstantPoolArray* constant_pool); |
| 1467 |
1465 // Writes a single word of data in the code stream. | 1468 // Writes a single word of data in the code stream. |
1466 // Used for inline tables, e.g., jump-tables. | 1469 // Used for inline tables, e.g., jump-tables. |
1467 void db(uint8_t data); | 1470 void db(uint8_t data); |
1468 void dd(uint32_t data); | 1471 void dd(uint32_t data); |
1469 | 1472 |
1470 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1473 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
1471 | 1474 |
1472 // Check if there is less than kGap bytes available in the buffer. | 1475 // Check if there is less than kGap bytes available in the buffer. |
1473 // If this is the case, we need to grow the buffer before emitting | 1476 // If this is the case, we need to grow the buffer before emitting |
1474 // an instruction or relocation information. | 1477 // an instruction or relocation information. |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1749 private: | 1752 private: |
1750 Assembler* assembler_; | 1753 Assembler* assembler_; |
1751 #ifdef DEBUG | 1754 #ifdef DEBUG |
1752 int space_before_; | 1755 int space_before_; |
1753 #endif | 1756 #endif |
1754 }; | 1757 }; |
1755 | 1758 |
1756 } } // namespace v8::internal | 1759 } } // namespace v8::internal |
1757 | 1760 |
1758 #endif // V8_X64_ASSEMBLER_X64_H_ | 1761 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |