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 | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are 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 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 } | 1372 } |
1373 | 1373 |
1374 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1374 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1375 | 1375 |
1376 // Record a comment relocation entry that can be used by a disassembler. | 1376 // Record a comment relocation entry that can be used by a disassembler. |
1377 // Use --code-comments to enable. | 1377 // Use --code-comments to enable. |
1378 void RecordComment(const char* msg); | 1378 void RecordComment(const char* msg); |
1379 | 1379 |
1380 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1380 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1381 // Use --trace-deopt to enable. | 1381 // Use --trace-deopt to enable. |
1382 void RecordDeoptReason(const int reason, int raw_position, int inlining_id); | 1382 void RecordDeoptReason(const int reason, int raw_position, int id); |
1383 | 1383 |
1384 // Record the emission of a constant pool. | 1384 // Record the emission of a constant pool. |
1385 // | 1385 // |
1386 // The emission of constant pool depends on the size of the code generated and | 1386 // The emission of constant pool depends on the size of the code generated and |
1387 // the number of RelocInfo recorded. | 1387 // the number of RelocInfo recorded. |
1388 // The Debug mechanism needs to map code offsets between two versions of a | 1388 // The Debug mechanism needs to map code offsets between two versions of a |
1389 // function, compiled with and without debugger support (see for example | 1389 // function, compiled with and without debugger support (see for example |
1390 // Debug::PrepareForBreakPoints()). | 1390 // Debug::PrepareForBreakPoints()). |
1391 // Compiling functions with debugger support generates additional code | 1391 // Compiling functions with debugger support generates additional code |
1392 // (DebugCodegen::GenerateSlot()). This may affect the emission of the | 1392 // (DebugCodegen::GenerateSlot()). This may affect the emission of the |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1672 explicit EnsureSpace(Assembler* assembler) { | 1672 explicit EnsureSpace(Assembler* assembler) { |
1673 assembler->CheckBuffer(); | 1673 assembler->CheckBuffer(); |
1674 } | 1674 } |
1675 }; | 1675 }; |
1676 | 1676 |
1677 | 1677 |
1678 } // namespace internal | 1678 } // namespace internal |
1679 } // namespace v8 | 1679 } // namespace v8 |
1680 | 1680 |
1681 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1681 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |