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

Unified Diff: src/objects-printer.cc

Issue 2655853010: [TypeFeedbackVector] Combine the literals array and the feedback vector. (Closed)
Patch Set: more comments. Created 3 years, 11 months 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
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index ed6841a7201537677765c30e336a954a1bb518b4..903785f96c8b89f16b6da8280bcdbd046bbe22cb 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -802,6 +802,7 @@ void TypeFeedbackVector::TypeFeedbackVectorPrint(std::ostream& os) { // NOLINT
break;
}
case FeedbackVectorSlotKind::CREATE_CLOSURE:
+ case FeedbackVectorSlotKind::LITERAL:
case FeedbackVectorSlotKind::GENERAL:
break;
case FeedbackVectorSlotKind::INVALID:
@@ -1051,7 +1052,7 @@ void JSFunction::JSFunctionPrint(std::ostream& os) { // NOLINT
os << "\n - async";
}
os << "\n - context = " << Brief(context());
- os << "\n - literals = " << Brief(literals());
+ os << "\n - feedback vector = " << Brief(feedback_vector());
os << "\n - code = " << Brief(code());
JSObjectPrintBody(os, this);
}
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698