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 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1329 } | 1329 } |
1330 | 1330 |
1331 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1331 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1332 | 1332 |
1333 // Record a comment relocation entry that can be used by a disassembler. | 1333 // Record a comment relocation entry that can be used by a disassembler. |
1334 // Use --code-comments to enable. | 1334 // Use --code-comments to enable. |
1335 void RecordComment(const char* msg); | 1335 void RecordComment(const char* msg); |
1336 | 1336 |
1337 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1337 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1338 // Use --trace-deopt to enable. | 1338 // Use --trace-deopt to enable. |
1339 void RecordDeoptReason(const int reason, const SourcePosition position); | 1339 void RecordDeoptReason(const int reason, int raw_position); |
1340 | 1340 |
1341 // Record the emission of a constant pool. | 1341 // Record the emission of a constant pool. |
1342 // | 1342 // |
1343 // The emission of constant pool depends on the size of the code generated and | 1343 // The emission of constant pool depends on the size of the code generated and |
1344 // the number of RelocInfo recorded. | 1344 // the number of RelocInfo recorded. |
1345 // The Debug mechanism needs to map code offsets between two versions of a | 1345 // The Debug mechanism needs to map code offsets between two versions of a |
1346 // function, compiled with and without debugger support (see for example | 1346 // function, compiled with and without debugger support (see for example |
1347 // Debug::PrepareForBreakPoints()). | 1347 // Debug::PrepareForBreakPoints()). |
1348 // Compiling functions with debugger support generates additional code | 1348 // Compiling functions with debugger support generates additional code |
1349 // (DebugCodegen::GenerateSlot()). This may affect the emission of the | 1349 // (DebugCodegen::GenerateSlot()). This may affect the emission of the |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1627 explicit EnsureSpace(Assembler* assembler) { | 1627 explicit EnsureSpace(Assembler* assembler) { |
1628 assembler->CheckBuffer(); | 1628 assembler->CheckBuffer(); |
1629 } | 1629 } |
1630 }; | 1630 }; |
1631 | 1631 |
1632 | 1632 |
1633 } // namespace internal | 1633 } // namespace internal |
1634 } // namespace v8 | 1634 } // namespace v8 |
1635 | 1635 |
1636 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1636 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
OLD | NEW |