Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 4a719e6aafb2518bc3326ffd722bde5a887e06dd..44c34f92b11b7488edca0cd4ac53d6270f55cf85 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -1398,6 +1398,11 @@ class Assembler : public AssemblerBase { |
// Use --code-comments to enable. |
void RecordComment(const char* msg); |
+ // 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); |
+ |
// Record the emission of a constant pool. |
// |
// The emission of constant pool depends on the size of the code generated and |