Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 6f38bdc5872084c4bdeb673b954804fdbf2893ab..82336652b20c7e5ef312e3b29a6a848a7b4cab76 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -13823,14 +13823,14 @@ Code* Code::GetCodeAgeStub(Isolate* isolate, Age age, MarkingParity parity) { |
void Code::PrintDeoptLocation(FILE* out, Address pc) { |
Deoptimizer::DeoptInfo info = Deoptimizer::GetDeoptInfo(this, pc); |
class SourcePosition pos = info.position; |
- if (info.deopt_reason != Deoptimizer::kNoReason || !pos.IsUnknown()) { |
+ if (info.deopt_reason != DeoptimizeReason::kNoReason || !pos.IsUnknown()) { |
if (FLAG_hydrogen_track_positions) { |
PrintF(out, " ;;; deoptimize at %d_%d: %s\n", |
pos.inlining_id(), pos.position(), |
- Deoptimizer::GetDeoptReason(info.deopt_reason)); |
+ DeoptimizeReasonToString(info.deopt_reason)); |
} else { |
PrintF(out, " ;;; deoptimize at %d: %s\n", pos.raw(), |
- Deoptimizer::GetDeoptReason(info.deopt_reason)); |
+ DeoptimizeReasonToString(info.deopt_reason)); |
} |
} |
} |