Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(881)

Unified Diff: src/disassembler.cc

Issue 2451853002: Uniform and precise source positions for inlining (Closed)
Patch Set: fixed gcmole issue Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 =

Powered by Google App Engine
This is Rietveld 408576698