Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 105d711c1fefb082c9dbbe66a70d4c62680edc0f..33b61a3480321fcf083ccd0cd7aa1ca5c5056c8f 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -3377,6 +3377,15 @@ void Assembler::RecordComment(const char* msg) { |
} |
+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::RecordConstPool(int size) { |
// We only need this for debugger support, to correctly compute offsets in the |
// code. |