Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 2ebae3bbe02a58348dfd0e9289a46e6a4e0d46ff..b973495bfae08f81aeffd9812952f703717a1693 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -1330,6 +1330,10 @@ class Assembler : public AssemblerBase { |
// Use --code-comments to enable. |
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); |
+ |
// Allocate a constant pool of the correct size for the generated code. |
Handle<ConstantPoolArray> NewConstantPool(Isolate* isolate); |