Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index 1da917167f91db36548376b0aae7d376f3ef9f1c..7036e1b62d214995372963e7b3e3f3010f173185 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -172,8 +172,11 @@ static int DecodeIt(Isolate* isolate, std::ostream* os, |
} |
RelocInfo::Mode rmode = relocinfo.rmode(); |
- if (rmode == RelocInfo::DEOPT_POSITION) { |
- out.AddFormatted(" ;; debug: deopt position '%d'", |
+ if (rmode == RelocInfo::DEOPT_SCRIPT_OFFSET) { |
+ out.AddFormatted(" ;; debug: deopt position, script offset '%d'", |
+ static_cast<int>(relocinfo.data())); |
+ } else if (rmode == RelocInfo::DEOPT_INLINING_ID) { |
+ out.AddFormatted(" ;; debug: deopt position, inlining id '%d'", |
static_cast<int>(relocinfo.data())); |
} else if (rmode == RelocInfo::DEOPT_REASON) { |
DeoptimizeReason reason = |