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 | 5 // modification, are permitted provided that the following conditions |
6 // are met: | 6 // are 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 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 } | 1207 } |
1208 | 1208 |
1209 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1209 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1210 | 1210 |
1211 // Record a comment relocation entry that can be used by a disassembler. | 1211 // Record a comment relocation entry that can be used by a disassembler. |
1212 // Use --code-comments to enable. | 1212 // Use --code-comments to enable. |
1213 void RecordComment(const char* msg); | 1213 void RecordComment(const char* msg); |
1214 | 1214 |
1215 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1215 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1216 // Use --trace-deopt to enable. | 1216 // Use --trace-deopt to enable. |
1217 void RecordDeoptReason(const int reason, int raw_position, int inlining_id); | 1217 void RecordDeoptReason(const int reason, int raw_position, int id); |
1218 | 1218 |
1219 // Writes a single byte or word of data in the code stream. Used | 1219 // Writes a single byte or word of data in the code stream. Used |
1220 // for inline tables, e.g., jump-tables. | 1220 // for inline tables, e.g., jump-tables. |
1221 void db(uint8_t data); | 1221 void db(uint8_t data); |
1222 void dd(uint32_t data); | 1222 void dd(uint32_t data); |
1223 void dq(uint64_t data); | 1223 void dq(uint64_t data); |
1224 void dp(uintptr_t data); | 1224 void dp(uintptr_t data); |
1225 | 1225 |
1226 AssemblerPositionsRecorder* positions_recorder() { | 1226 AssemblerPositionsRecorder* positions_recorder() { |
1227 return &positions_recorder_; | 1227 return &positions_recorder_; |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1479 | 1479 |
1480 | 1480 |
1481 class EnsureSpace BASE_EMBEDDED { | 1481 class EnsureSpace BASE_EMBEDDED { |
1482 public: | 1482 public: |
1483 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1483 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
1484 }; | 1484 }; |
1485 } // namespace internal | 1485 } // namespace internal |
1486 } // namespace v8 | 1486 } // namespace v8 |
1487 | 1487 |
1488 #endif // V8_PPC_ASSEMBLER_PPC_H_ | 1488 #endif // V8_PPC_ASSEMBLER_PPC_H_ |
OLD | NEW |