| 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 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 } | 1393 } |
| 1394 | 1394 |
| 1395 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1395 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
| 1396 | 1396 |
| 1397 // Record a comment relocation entry that can be used by a disassembler. | 1397 // Record a comment relocation entry that can be used by a disassembler. |
| 1398 // Use --code-comments to enable. | 1398 // Use --code-comments to enable. |
| 1399 void RecordComment(const char* msg); | 1399 void RecordComment(const char* msg); |
| 1400 | 1400 |
| 1401 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1401 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1402 // Use --trace-deopt to enable. | 1402 // Use --trace-deopt to enable. |
| 1403 void RecordDeoptReason(const int reason, const int raw_position); | 1403 void RecordDeoptReason(const int reason, const SourcePosition position); |
| 1404 | 1404 |
| 1405 // Record the emission of a constant pool. | 1405 // Record the emission of a constant pool. |
| 1406 // | 1406 // |
| 1407 // The emission of constant pool depends on the size of the code generated and | 1407 // The emission of constant pool depends on the size of the code generated and |
| 1408 // the number of RelocInfo recorded. | 1408 // the number of RelocInfo recorded. |
| 1409 // The Debug mechanism needs to map code offsets between two versions of a | 1409 // The Debug mechanism needs to map code offsets between two versions of a |
| 1410 // function, compiled with and without debugger support (see for example | 1410 // function, compiled with and without debugger support (see for example |
| 1411 // Debug::PrepareForBreakPoints()). | 1411 // Debug::PrepareForBreakPoints()). |
| 1412 // Compiling functions with debugger support generates additional code | 1412 // Compiling functions with debugger support generates additional code |
| 1413 // (DebugCodegen::GenerateSlot()). This may affect the emission of the | 1413 // (DebugCodegen::GenerateSlot()). This may affect the emission of the |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1681 public: | 1681 public: |
| 1682 explicit EnsureSpace(Assembler* assembler) { | 1682 explicit EnsureSpace(Assembler* assembler) { |
| 1683 assembler->CheckBuffer(); | 1683 assembler->CheckBuffer(); |
| 1684 } | 1684 } |
| 1685 }; | 1685 }; |
| 1686 | 1686 |
| 1687 | 1687 |
| 1688 } } // namespace v8::internal | 1688 } } // namespace v8::internal |
| 1689 | 1689 |
| 1690 #endif // V8_ARM_ASSEMBLER_ARM_H_ | 1690 #endif // V8_ARM_ASSEMBLER_ARM_H_ |
| OLD | NEW |