Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 725dcdb5bde69e551ceecee460c4236118af405d..355996458cf70a163fc919f9cd7575e48e56ace1 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -3386,6 +3386,15 @@ void Assembler::RecordComment(const char* msg, bool force) { |
} |
+void Assembler::RecordDeoptReason(const int reason, const int raw_position) { |
+ if (FLAG_trace_deopt) { |
+ EnsureSpace ensure_space(this); |
+ RecordRelocInfo(RelocInfo::POSITION, raw_position); |
+ RecordRelocInfo(RelocInfo::DEOPT_REASON, reason); |
+ } |
+} |
+ |
+ |
Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) { |
// No out-of-line constant pool support. |
DCHECK(!FLAG_enable_ool_constant_pool); |