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 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 // Mark address of the ExitJSFrame code. | 1323 // Mark address of the ExitJSFrame code. |
1324 void RecordJSReturn(); | 1324 void RecordJSReturn(); |
1325 | 1325 |
1326 // Mark address of a debug break slot. | 1326 // Mark address of a debug break slot. |
1327 void RecordDebugBreakSlot(); | 1327 void RecordDebugBreakSlot(); |
1328 | 1328 |
1329 // Record a comment relocation entry that can be used by a disassembler. | 1329 // Record a comment relocation entry that can be used by a disassembler. |
1330 // Use --code-comments to enable. | 1330 // Use --code-comments to enable. |
1331 void RecordComment(const char* msg, bool force = false); | 1331 void RecordComment(const char* msg, bool force = false); |
1332 | 1332 |
| 1333 void RecordDeoptReason(const int reason, const int raw_position); |
| 1334 |
1333 // Allocate a constant pool of the correct size for the generated code. | 1335 // Allocate a constant pool of the correct size for the generated code. |
1334 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); | 1336 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); |
1335 | 1337 |
1336 // Generate the constant pool for the generated code. | 1338 // Generate the constant pool for the generated code. |
1337 void PopulateConstantPool(ConstantPoolArray* constant_pool); | 1339 void PopulateConstantPool(ConstantPoolArray* constant_pool); |
1338 | 1340 |
1339 // Writes a single word of data in the code stream. | 1341 // Writes a single word of data in the code stream. |
1340 // Used for inline tables, e.g., jump-tables. | 1342 // Used for inline tables, e.g., jump-tables. |
1341 void db(uint8_t data); | 1343 void db(uint8_t data); |
1342 void dd(uint32_t data); | 1344 void dd(uint32_t data); |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1837 private: | 1839 private: |
1838 Assembler* assembler_; | 1840 Assembler* assembler_; |
1839 #ifdef DEBUG | 1841 #ifdef DEBUG |
1840 int space_before_; | 1842 int space_before_; |
1841 #endif | 1843 #endif |
1842 }; | 1844 }; |
1843 | 1845 |
1844 } } // namespace v8::internal | 1846 } } // namespace v8::internal |
1845 | 1847 |
1846 #endif // V8_X64_ASSEMBLER_X64_H_ | 1848 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |