| 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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1013 } | 1013 } |
| 1014 | 1014 |
| 1015 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1015 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
| 1016 | 1016 |
| 1017 // Record a comment relocation entry that can be used by a disassembler. | 1017 // Record a comment relocation entry that can be used by a disassembler. |
| 1018 // Use --code-comments to enable. | 1018 // Use --code-comments to enable. |
| 1019 void RecordComment(const char* msg); | 1019 void RecordComment(const char* msg); |
| 1020 | 1020 |
| 1021 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1021 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1022 // Use --trace-deopt to enable. | 1022 // Use --trace-deopt to enable. |
| 1023 void RecordDeoptReason(const int reason, const int raw_position); | 1023 void RecordDeoptReason(const int reason, const SourcePosition position); |
| 1024 | 1024 |
| 1025 | 1025 |
| 1026 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1026 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
| 1027 intptr_t pc_delta); | 1027 intptr_t pc_delta); |
| 1028 | 1028 |
| 1029 // Writes a single byte or word of data in the code stream. Used for | 1029 // Writes a single byte or word of data in the code stream. Used for |
| 1030 // inline tables, e.g., jump-tables. | 1030 // inline tables, e.g., jump-tables. |
| 1031 void db(uint8_t data); | 1031 void db(uint8_t data); |
| 1032 void dd(uint32_t data); | 1032 void dd(uint32_t data); |
| 1033 void dd(Label* label); | 1033 void dd(Label* label); |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1387 class EnsureSpace BASE_EMBEDDED { | 1387 class EnsureSpace BASE_EMBEDDED { |
| 1388 public: | 1388 public: |
| 1389 explicit EnsureSpace(Assembler* assembler) { | 1389 explicit EnsureSpace(Assembler* assembler) { |
| 1390 assembler->CheckBuffer(); | 1390 assembler->CheckBuffer(); |
| 1391 } | 1391 } |
| 1392 }; | 1392 }; |
| 1393 | 1393 |
| 1394 } } // namespace v8::internal | 1394 } } // namespace v8::internal |
| 1395 | 1395 |
| 1396 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1396 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |