Index: src/arm/assembler-arm.h |
diff --git a/src/arm/assembler-arm.h b/src/arm/assembler-arm.h |
index 4a719e6aafb2518bc3326ffd722bde5a887e06dd..3ea6b7b609cd4a5eb6f5c467e6e749df68f601f7 100644 |
--- a/src/arm/assembler-arm.h |
+++ b/src/arm/assembler-arm.h |
@@ -1398,6 +1398,10 @@ 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. |
+ 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 |