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 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1295 } | 1295 } |
1296 | 1296 |
1297 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } | 1297 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } |
1298 | 1298 |
1299 // Record a comment relocation entry that can be used by a disassembler. | 1299 // Record a comment relocation entry that can be used by a disassembler. |
1300 // Use --code-comments to enable. | 1300 // Use --code-comments to enable. |
1301 void RecordComment(const char* msg); | 1301 void RecordComment(const char* msg); |
1302 | 1302 |
1303 // Record a deoptimization reason that can be used by a log or cpu profiler. | 1303 // Record a deoptimization reason that can be used by a log or cpu profiler. |
1304 // Use --trace-deopt to enable. | 1304 // Use --trace-deopt to enable. |
1305 void RecordDeoptReason(const int reason, const int raw_position); | 1305 void RecordDeoptReason(const int reason, const SourcePosition position); |
1306 | 1306 |
1307 // Writes a single byte or word of data in the code stream. Used | 1307 // Writes a single byte or word of data in the code stream. Used |
1308 // for inline tables, e.g., jump-tables. | 1308 // for inline tables, e.g., jump-tables. |
1309 void db(uint8_t data); | 1309 void db(uint8_t data); |
1310 void dd(uint32_t data); | 1310 void dd(uint32_t data); |
1311 void emit_ptr(intptr_t data); | 1311 void emit_ptr(intptr_t data); |
1312 | 1312 |
1313 PositionsRecorder* positions_recorder() { return &positions_recorder_; } | 1313 PositionsRecorder* positions_recorder() { return &positions_recorder_; } |
1314 | 1314 |
1315 // Read/patch instructions | 1315 // Read/patch instructions |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1560 | 1560 |
1561 | 1561 |
1562 class EnsureSpace BASE_EMBEDDED { | 1562 class EnsureSpace BASE_EMBEDDED { |
1563 public: | 1563 public: |
1564 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } | 1564 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } |
1565 }; | 1565 }; |
1566 } | 1566 } |
1567 } // namespace v8::internal | 1567 } // namespace v8::internal |
1568 | 1568 |
1569 #endif // V8_PPC_ASSEMBLER_PPC_H_ | 1569 #endif // V8_PPC_ASSEMBLER_PPC_H_ |
OLD | NEW |