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

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

Issue 2161543002: [turbofan] Add support for eager/soft deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Do the ports properly Created 4 years, 5 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/objects.cc ('k') | src/profiler/profiler-listener.cc » ('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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after
1206 } 1206 }
1207 1207
1208 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); } 1208 void ClearRecordedAstId() { recorded_ast_id_ = TypeFeedbackId::None(); }
1209 1209
1210 // Record a comment relocation entry that can be used by a disassembler. 1210 // Record a comment relocation entry that can be used by a disassembler.
1211 // Use --code-comments to enable. 1211 // Use --code-comments to enable.
1212 void RecordComment(const char* msg); 1212 void RecordComment(const char* msg);
1213 1213
1214 // Record a deoptimization reason that can be used by a log or cpu profiler. 1214 // Record a deoptimization reason that can be used by a log or cpu profiler.
1215 // Use --trace-deopt to enable. 1215 // Use --trace-deopt to enable.
1216 void RecordDeoptReason(const int reason, int raw_position, int id); 1216 void RecordDeoptReason(DeoptimizeReason reason, int raw_position, int id);
1217 1217
1218 // Writes a single byte or word of data in the code stream. Used 1218 // Writes a single byte or word of data in the code stream. Used
1219 // for inline tables, e.g., jump-tables. 1219 // for inline tables, e.g., jump-tables.
1220 void db(uint8_t data); 1220 void db(uint8_t data);
1221 void dd(uint32_t data); 1221 void dd(uint32_t data);
1222 void dq(uint64_t data); 1222 void dq(uint64_t data);
1223 void dp(uintptr_t data); 1223 void dp(uintptr_t data);
1224 1224
1225 // Read/patch instructions 1225 // Read/patch instructions
1226 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); } 1226 Instr instr_at(int pos) { return *reinterpret_cast<Instr*>(buffer_ + pos); }
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 1472
1473 1473
1474 class EnsureSpace BASE_EMBEDDED { 1474 class EnsureSpace BASE_EMBEDDED {
1475 public: 1475 public:
1476 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } 1476 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
1477 }; 1477 };
1478 } // namespace internal 1478 } // namespace internal
1479 } // namespace v8 1479 } // namespace v8
1480 1480
1481 #endif // V8_PPC_ASSEMBLER_PPC_H_ 1481 #endif // V8_PPC_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/profiler/profiler-listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698