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 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1053 } | 1053 } |
1054 | 1054 |
1055 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1055 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1056 | 1056 |
1057 // Record a comment relocation entry that can be used by a disassembler. | 1057 // Record a comment relocation entry that can be used by a disassembler. |
1058 // Use --code-comments to enable. | 1058 // Use --code-comments to enable. |
1059 void RecordComment(const char* msg); | 1059 void RecordComment(const char* msg); |
1060 | 1060 |
1061 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1061 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1062 // Use --trace-deopt to enable. | 1062 // Use --trace-deopt to enable. |
1063 void RecordDeoptReason(const int reason, const int raw_position); | 1063 void RecordDeoptReason(const int reason, const SourcePosition position); |
1064 | 1064 |
1065 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, | 1065 static int RelocateInternalReference(RelocInfo::Mode rmode, byte* pc, |
1066 intptr_t pc_delta); | 1066 intptr_t pc_delta); |
1067 | 1067 |
1068 // Writes a single byte or word of data in the code stream. Used for | 1068 // Writes a single byte or word of data in the code stream. Used for |
1069 // inline tables, e.g., jump-tables. | 1069 // inline tables, e.g., jump-tables. |
1070 void db(uint8_t data); | 1070 void db(uint8_t data); |
1071 void dd(uint32_t data); | 1071 void dd(uint32_t data); |
1072 void dd(Label* label); | 1072 void dd(Label* label); |
1073 | 1073 |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1427 class EnsureSpace BASE_EMBEDDED { | 1427 class EnsureSpace BASE_EMBEDDED { |
1428 public: | 1428 public: |
1429 explicit EnsureSpace(Assembler* assembler) { | 1429 explicit EnsureSpace(Assembler* assembler) { |
1430 assembler->CheckBuffer(); | 1430 assembler->CheckBuffer(); |
1431 } | 1431 } |
1432 }; | 1432 }; |
1433 | 1433 |
1434 } } // namespace v8::internal | 1434 } } // namespace v8::internal |
1435 | 1435 |
1436 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1436 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |