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 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1098 } | 1098 } |
1099 | 1099 |
1100 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1100 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1101 | 1101 |
1102 // Record a comment relocation entry that can be used by a disassembler. | 1102 // Record a comment relocation entry that can be used by a disassembler. |
1103 // Use --code-comments to enable. | 1103 // Use --code-comments to enable. |
1104 void RecordComment(const char* msg); | 1104 void RecordComment(const char* msg); |
1105 | 1105 |
1106 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1106 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1107 // Use --trace-deopt to enable. | 1107 // Use --trace-deopt to enable. |
1108 void RecordDeoptReason(const int reason, int raw_position); | 1108 void RecordDeoptReason(const int reason, int raw_position, int inlining_id); |
1109 | 1109 |
1110 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1110 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
1111 intptr_t pc_delta); | 1111 intptr_t pc_delta); |
1112 | 1112 |
1113 // Writes a single byte or word of data in the code stream. Used for | 1113 // Writes a single byte or word of data in the code stream. Used for |
1114 // inline tables, e.g., jump-tables. | 1114 // inline tables, e.g., jump-tables. |
1115 void db(uint8_t data); | 1115 void db(uint8_t data); |
1116 void dd(uint32_t data); | 1116 void dd(uint32_t data); |
1117 void dq(uint64_t data); | 1117 void dq(uint64_t data); |
1118 void dp(uintptr_t data) { dq(data); } | 1118 void dp(uintptr_t data) { dq(data); } |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1519 public: | 1519 public: |
1520 explicit EnsureSpace(Assembler* assembler) { | 1520 explicit EnsureSpace(Assembler* assembler) { |
1521 assembler->CheckBuffer(); | 1521 assembler->CheckBuffer(); |
1522 } | 1522 } |
1523 }; | 1523 }; |
1524 | 1524 |
1525 } // namespace internal | 1525 } // namespace internal |
1526 } // namespace v8 | 1526 } // namespace v8 |
1527 | 1527 |
1528 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1528 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |