Index: src/x87/assembler-x87.cc |
diff --git a/src/x87/assembler-x87.cc b/src/x87/assembler-x87.cc |
index 4177156ee66c1dede3776720fea62aa6548bae20..0784592cc13be6439bb8cff83c14b4eb7569d4c9 100644 |
--- a/src/x87/assembler-x87.cc |
+++ b/src/x87/assembler-x87.cc |
@@ -1919,6 +1919,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); |
+ } |
+} |
+ |
+ |
void Assembler::GrowBuffer() { |
DCHECK(buffer_overflow()); |
if (!own_buffer_) FATAL("external code buffer is too small"); |