Index: src/x87/assembler-x87.h |
diff --git a/src/x87/assembler-x87.h b/src/x87/assembler-x87.h |
index 1da632f2660ed768e054c47757fe3c97ecfa141e..94c814f493960a421a57a0cccef37c811775961e 100644 |
--- a/src/x87/assembler-x87.h |
+++ b/src/x87/assembler-x87.h |
@@ -935,6 +935,10 @@ 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. |
+ void RecordDeoptReason(const int reason, const int raw_position); |
+ |
// 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); |