| 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 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 } | 1110 } |
| 1111 | 1111 |
| 1112 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1112 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
| 1113 | 1113 |
| 1114 // Record a comment relocation entry that can be used by a disassembler. | 1114 // Record a comment relocation entry that can be used by a disassembler. |
| 1115 // Use --code-comments to enable. | 1115 // Use --code-comments to enable. |
| 1116 void RecordComment(const char* msg); | 1116 void RecordComment(const char* msg); |
| 1117 | 1117 |
| 1118 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1118 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1119 // Use --trace-deopt to enable. | 1119 // Use --trace-deopt to enable. |
| 1120 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); | 1120 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
| 1121 int id); |
| 1121 | 1122 |
| 1122 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1123 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
| 1123 intptr_t pc_delta); | 1124 intptr_t pc_delta); |
| 1124 | 1125 |
| 1125 // Writes a single byte or word of data in the code stream. Used for | 1126 // Writes a single byte or word of data in the code stream. Used for |
| 1126 // inline tables, e.g., jump-tables. | 1127 // inline tables, e.g., jump-tables. |
| 1127 void db(uint8_t data); | 1128 void db(uint8_t data); |
| 1128 void dd(uint32_t data); | 1129 void dd(uint32_t data); |
| 1129 void dq(uint64_t data); | 1130 void dq(uint64_t data); |
| 1130 void dp(uintptr_t data) { dq(data); } | 1131 void dp(uintptr_t data) { dq(data); } |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1524 public: | 1525 public: |
| 1525 explicit EnsureSpace(Assembler* assembler) { | 1526 explicit EnsureSpace(Assembler* assembler) { |
| 1526 assembler->CheckBuffer(); | 1527 assembler->CheckBuffer(); |
| 1527 } | 1528 } |
| 1528 }; | 1529 }; |
| 1529 | 1530 |
| 1530 } // namespace internal | 1531 } // namespace internal |
| 1531 } // namespace v8 | 1532 } // namespace v8 |
| 1532 | 1533 |
| 1533 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1534 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |