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 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 } | 1085 } |
1086 | 1086 |
1087 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1087 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1088 | 1088 |
1089 // Record a comment relocation entry that can be used by a disassembler. | 1089 // Record a comment relocation entry that can be used by a disassembler. |
1090 // Use --code-comments to enable. | 1090 // Use --code-comments to enable. |
1091 void RecordComment(const char* msg); | 1091 void RecordComment(const char* msg); |
1092 | 1092 |
1093 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1093 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1094 // Use --trace-deopt to enable. | 1094 // Use --trace-deopt to enable. |
1095 void RecordDeoptReason(const int reason, const SourcePosition position); | 1095 void RecordDeoptReason(const int reason, int raw_position); |
1096 | 1096 |
1097 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1097 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
1098 intptr_t pc_delta); | 1098 intptr_t pc_delta); |
1099 | 1099 |
1100 // Writes a single byte or word of data in the code stream. Used for | 1100 // Writes a single byte or word of data in the code stream. Used for |
1101 // inline tables, e.g., jump-tables. | 1101 // inline tables, e.g., jump-tables. |
1102 void db(uint8_t data); | 1102 void db(uint8_t data); |
1103 void dd(uint32_t data); | 1103 void dd(uint32_t data); |
1104 void dq(uint64_t data); | 1104 void dq(uint64_t data); |
1105 void dp(uintptr_t data) { dq(data); } | 1105 void dp(uintptr_t data) { dq(data); } |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1499 public: | 1499 public: |
1500 explicit EnsureSpace(Assembler* assembler) { | 1500 explicit EnsureSpace(Assembler* assembler) { |
1501 assembler->CheckBuffer(); | 1501 assembler->CheckBuffer(); |
1502 } | 1502 } |
1503 }; | 1503 }; |
1504 | 1504 |
1505 } // namespace internal | 1505 } // namespace internal |
1506 } // namespace v8 | 1506 } // namespace v8 |
1507 | 1507 |
1508 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1508 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |