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