Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index bd4c66e5f68f2f6a02a7c1f4e051d5d6efe4cf02..e32904df5cb2073e210463d860858bf5a74b7d6d 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -174,10 +174,10 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
out.AddFormatted(" ;; debug: deopt position '%d'", |
static_cast<int>(relocinfo.data())); |
} else if (rmode == RelocInfo::DEOPT_REASON) { |
- Deoptimizer::DeoptReason reason = |
- static_cast<Deoptimizer::DeoptReason>(relocinfo.data()); |
+ DeoptimizeReason reason = |
+ static_cast<DeoptimizeReason>(relocinfo.data()); |
out.AddFormatted(" ;; debug: deopt reason '%s'", |
- Deoptimizer::GetDeoptReason(reason)); |
+ DeoptimizeReasonToString(reason)); |
} else if (rmode == RelocInfo::DEOPT_ID) { |
out.AddFormatted(" ;; debug: deopt index %d", |
static_cast<int>(relocinfo.data())); |