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 1403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1414 } | 1414 } |
1415 | 1415 |
1416 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1416 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1417 | 1417 |
1418 // Record a comment relocation entry that can be used by a disassembler. | 1418 // Record a comment relocation entry that can be used by a disassembler. |
1419 // Use --code-comments to enable. | 1419 // Use --code-comments to enable. |
1420 void RecordComment(const char* msg); | 1420 void RecordComment(const char* msg); |
1421 | 1421 |
1422 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1422 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1423 // Use --trace-deopt to enable. | 1423 // Use --trace-deopt to enable. |
1424 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); | 1424 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
| 1425 int id); |
1425 | 1426 |
1426 // Record the emission of a constant pool. | 1427 // Record the emission of a constant pool. |
1427 // | 1428 // |
1428 // The emission of constant pool depends on the size of the code generated and | 1429 // The emission of constant pool depends on the size of the code generated and |
1429 // the number of RelocInfo recorded. | 1430 // the number of RelocInfo recorded. |
1430 // The Debug mechanism needs to map code offsets between two versions of a | 1431 // The Debug mechanism needs to map code offsets between two versions of a |
1431 // function, compiled with and without debugger support (see for example | 1432 // function, compiled with and without debugger support (see for example |
1432 // Debug::PrepareForBreakPoints()). | 1433 // Debug::PrepareForBreakPoints()). |
1433 // Compiling functions with debugger support generates additional code | 1434 // Compiling functions with debugger support generates additional code |
1434 // (DebugCodegen::GenerateSlot()). This may affect the emission of the | 1435 // (DebugCodegen::GenerateSlot()). This may affect the emission of the |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1708 explicit EnsureSpace(Assembler* assembler) { | 1709 explicit EnsureSpace(Assembler* assembler) { |
1709 assembler->CheckBuffer(); | 1710 assembler->CheckBuffer(); |
1710 } | 1711 } |
1711 }; | 1712 }; |
1712 | 1713 |
1713 | 1714 |
1714 } // namespace internal | 1715 } // namespace internal |
1715 } // namespace v8 | 1716 } // namespace v8 |
1716 | 1717 |
1717 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1718 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |