Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: src/ppc/assembler-ppc.h

Issue 1956693002: [compiler] Pass inlining_id via relocation info. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/profiler/cpu-profiler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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); 1217 void RecordDeoptReason(const int reason, int raw_position, int inlining_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
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_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.h ('k') | src/profiler/cpu-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698