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 // Record a deoptimization reason that can be used by a log or cpu profiler. | |
1334 // Use --trace-deopt to enable. | |
1335 void RecordDeoptReason(const int reason, const int raw_position); | |
1336 | |
1337 // Allocate a constant pool of the correct size for the generated code. | 1333 // Allocate a constant pool of the correct size for the generated code. |
1338 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); | 1334 Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); |
1339 | 1335 |
1340 // Generate the constant pool for the generated code. | 1336 // Generate the constant pool for the generated code. |
1341 void PopulateConstantPool(ConstantPoolArray* constant_pool); | 1337 void PopulateConstantPool(ConstantPoolArray* constant_pool); |
1342 | 1338 |
1343 // Writes a single word of data in the code stream. | 1339 // Writes a single word of data in the code stream. |
1344 // Used for inline tables, e.g., jump-tables. | 1340 // Used for inline tables, e.g., jump-tables. |
1345 void db(uint8_t data); | 1341 void db(uint8_t data); |
1346 void dd(uint32_t data); | 1342 void dd(uint32_t data); |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1841 private: | 1837 private: |
1842 Assembler* assembler_; | 1838 Assembler* assembler_; |
1843 #ifdef DEBUG | 1839 #ifdef DEBUG |
1844 int space_before_; | 1840 int space_before_; |
1845 #endif | 1841 #endif |
1846 }; | 1842 }; |
1847 | 1843 |
1848 } } // namespace v8::internal | 1844 } } // namespace v8::internal |
1849 | 1845 |
1850 #endif // V8_X64_ASSEMBLER_X64_H_ | 1846 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |