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 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 } | 1048 } |
1049 | 1049 |
1050 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1050 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1051 | 1051 |
1052 // Record a comment relocation entry that can be used by a disassembler. | 1052 // Record a comment relocation entry that can be used by a disassembler. |
1053 // Use --code-comments to enable. | 1053 // Use --code-comments to enable. |
1054 void RecordComment(const char* msg); | 1054 void RecordComment(const char* msg); |
1055 | 1055 |
1056 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1056 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1057 // Use --trace-deopt to enable. | 1057 // Use --trace-deopt to enable. |
1058 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id); | 1058 void RecordDeoptReason(DeoptimizeReason reason, SourcePosition position, |
| 1059 int id); |
1059 | 1060 |
1060 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1061 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
1061 intptr_t pc_delta); | 1062 intptr_t pc_delta); |
1062 | 1063 |
1063 // Writes a single byte or word of data in the code stream. Used for | 1064 // Writes a single byte or word of data in the code stream. Used for |
1064 // inline tables, e.g., jump-tables. | 1065 // inline tables, e.g., jump-tables. |
1065 void db(uint8_t data); | 1066 void db(uint8_t data); |
1066 void dd(uint32_t data); | 1067 void dd(uint32_t data); |
1067 void dq(uint64_t data); | 1068 void dq(uint64_t data); |
1068 void dp(uintptr_t data) { dd(data); } | 1069 void dp(uintptr_t data) { dd(data); } |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 public: | 1473 public: |
1473 explicit EnsureSpace(Assembler* assembler) { | 1474 explicit EnsureSpace(Assembler* assembler) { |
1474 assembler->CheckBuffer(); | 1475 assembler->CheckBuffer(); |
1475 } | 1476 } |
1476 }; | 1477 }; |
1477 | 1478 |
1478 } // namespace internal | 1479 } // namespace internal |
1479 } // namespace v8 | 1480 } // namespace v8 |
1480 | 1481 |
1481 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1482 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |