| 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 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1041 } | 1041 } |
| 1042 | 1042 |
| 1043 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1043 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
| 1044 | 1044 |
| 1045 // Record a comment relocation entry that can be used by a disassembler. | 1045 // Record a comment relocation entry that can be used by a disassembler. |
| 1046 // Use --code-comments to enable. | 1046 // Use --code-comments to enable. |
| 1047 void RecordComment(const char* msg); | 1047 void RecordComment(const char* msg); |
| 1048 | 1048 |
| 1049 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1049 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1050 // Use --trace-deopt to enable. | 1050 // Use --trace-deopt to enable. |
| 1051 void RecordDeoptReason(const int reason, int raw_position, int id); | 1051 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); |
| 1052 | 1052 |
| 1053 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1053 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
| 1054 intptr_t pc_delta); | 1054 intptr_t pc_delta); |
| 1055 | 1055 |
| 1056 // Writes a single byte or word of data in the code stream. Used for | 1056 // Writes a single byte or word of data in the code stream. Used for |
| 1057 // inline tables, e.g., jump-tables. | 1057 // inline tables, e.g., jump-tables. |
| 1058 void db(uint8_t data); | 1058 void db(uint8_t data); |
| 1059 void dd(uint32_t data); | 1059 void dd(uint32_t data); |
| 1060 void dq(uint64_t data); | 1060 void dq(uint64_t data); |
| 1061 void dp(uintptr_t data) { dd(data); } | 1061 void dp(uintptr_t data) { dd(data); } |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1465 public: | 1465 public: |
| 1466 explicit EnsureSpace(Assembler* assembler) { | 1466 explicit EnsureSpace(Assembler* assembler) { |
| 1467 assembler->CheckBuffer(); | 1467 assembler->CheckBuffer(); |
| 1468 } | 1468 } |
| 1469 }; | 1469 }; |
| 1470 | 1470 |
| 1471 } // namespace internal | 1471 } // namespace internal |
| 1472 } // namespace v8 | 1472 } // namespace v8 |
| 1473 | 1473 |
| 1474 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1474 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |