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

Unified Diff: src/ia32/assembler-ia32.h

Issue 874323003: Externalize deoptimization reasons. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: src/ia32/assembler-ia32.h
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h
index b913f7afc8e2af773ea019e5ab81ac22b0ca4e14..edca7db9390ebdec1b92802c55d2ca8fbed6e041 100644
--- a/src/ia32/assembler-ia32.h
+++ b/src/ia32/assembler-ia32.h
@@ -1260,6 +1260,12 @@ class Assembler : public AssemblerBase {
// write a comment.
void RecordComment(const char* msg, bool force = false);
+ // Record a deoptimization reason that can be used by a log or cpu profiler.
+ // Use --trace-deopt to enable, or provide "force = true" flag to always
+ // write it.
+ void RecordDeoptReason(const int reason, const int raw_position,
+ bool force = false);
Sven Panne 2015/01/29 11:32:50 Do we really need the "force" flag?
+
// Writes a single byte or word of data in the code stream. Used for
// inline tables, e.g., jump-tables.
void db(uint8_t data);

Powered by Google App Engine
This is Rietveld 408576698