| 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 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1172 void RecordJSReturn(); | 1172 void RecordJSReturn(); |
| 1173 | 1173 |
| 1174 // Mark address of a debug break slot. | 1174 // Mark address of a debug break slot. |
| 1175 void RecordDebugBreakSlot(); | 1175 void RecordDebugBreakSlot(); |
| 1176 | 1176 |
| 1177 // Record a comment relocation entry that can be used by a disassembler. | 1177 // Record a comment relocation entry that can be used by a disassembler. |
| 1178 // Use --code-comments to enable. | 1178 // Use --code-comments to enable. |
| 1179 void RecordComment(const char* msg, bool force = false); | 1179 void RecordComment(const char* msg, bool force = false); |
| 1180 | 1180 |
| 1181 // Allocate a constant pool of the correct size for the generated code. | 1181 // Allocate a constant pool of the correct size for the generated code. |
| 1182 MaybeObject* AllocateConstantPool(Heap* heap); | 1182 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); |
| 1183 | 1183 |
| 1184 // Generate the constant pool for the generated code. | 1184 // Generate the constant pool for the generated code. |
| 1185 void PopulateConstantPool(ConstantPoolArray* constant_pool); | 1185 void PopulateConstantPool(ConstantPoolArray* constant_pool); |
| 1186 | 1186 |
| 1187 // Writes a single word of data in the code stream. | 1187 // Writes a single word of data in the code stream. |
| 1188 // Used for inline tables, e.g., jump-tables. | 1188 // Used for inline tables, e.g., jump-tables. |
| 1189 void db(uint8_t data); | 1189 void db(uint8_t data); |
| 1190 void dd(uint32_t data); | 1190 void dd(uint32_t data); |
| 1191 | 1191 |
| 1192 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1192 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1652 private: | 1652 private: |
| 1653 Assembler* assembler_; | 1653 Assembler* assembler_; |
| 1654 #ifdef DEBUG | 1654 #ifdef DEBUG |
| 1655 int space_before_; | 1655 int space_before_; |
| 1656 #endif | 1656 #endif |
| 1657 }; | 1657 }; |
| 1658 | 1658 |
| 1659 } } // namespace v8::internal | 1659 } } // namespace v8::internal |
| 1660 | 1660 |
| 1661 #endif // V8_X64_ASSEMBLER_X64_H_ | 1661 #endif // V8_X64_ASSEMBLER_X64_H_ |
| OLD | NEW |