| 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 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 } | 1196 } |
| 1197 | 1197 |
| 1198 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1198 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
| 1199 | 1199 |
| 1200 // Record a comment relocation entry that can be used by a disassembler. | 1200 // Record a comment relocation entry that can be used by a disassembler. |
| 1201 // Use --code-comments to enable. | 1201 // Use --code-comments to enable. |
| 1202 void RecordComment(const char* msg); | 1202 void RecordComment(const char* msg); |
| 1203 | 1203 |
| 1204 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1204 // Record a deoptimization reason that can be used by a log or cpu profiler. |
| 1205 // Use --trace-deopt to enable. | 1205 // Use --trace-deopt to enable. |
| 1206 void RecordDeoptReason(const int reason, const SourcePosition position); | 1206 void RecordDeoptReason(const int reason, int raw_position); |
| 1207 | 1207 |
| 1208 // Writes a single byte or word of data in the code stream. Used | 1208 // Writes a single byte or word of data in the code stream. Used |
| 1209 // for inline tables, e.g., jump-tables. | 1209 // for inline tables, e.g., jump-tables. |
| 1210 void db(uint8_t data); | 1210 void db(uint8_t data); |
| 1211 void dd(uint32_t data); | 1211 void dd(uint32_t data); |
| 1212 void dq(uint64_t data); | 1212 void dq(uint64_t data); |
| 1213 void dp(uintptr_t data); | 1213 void dp(uintptr_t data); |
| 1214 | 1214 |
| 1215 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1215 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
| 1216 | 1216 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1466 | 1466 |
| 1467 | 1467 |
| 1468 class EnsureSpace BASE_EMBEDDED { | 1468 class EnsureSpace BASE_EMBEDDED { |
| 1469 public: | 1469 public: |
| 1470 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1470 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
| 1471 }; | 1471 }; |
| 1472 } // namespace internal | 1472 } // namespace internal |
| 1473 } // namespace v8 | 1473 } // namespace v8 |
| 1474 | 1474 |
| 1475 #endif // V8_PPC_ASSEMBLER_PPC_H_ | 1475 #endif // V8_PPC_ASSEMBLER_PPC_H_ |
| OLD | NEW |