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

Unified Diff: src/objects-printer.cc

Issue 2788413004: [inspector] cache stack frame for call sites (Closed)
Patch Set: rebased Created 3 years, 8 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
« include/v8.h ('K') | « src/objects-inl.h ('k') | src/perf-jit.cc » ('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 8974f2815c017c24fdb9234c68c26a40854dc1df..78df97e722bc700c0c0a58501623496e14453a7c 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -1506,6 +1506,14 @@ void StackFrameInfo::StackFrameInfoPrint(std::ostream& os) { // NOLINT
os << "\n";
}
+void SourcePositionTableWithFrameCache::SourcePositionTableWithFrameCachePrint(
+ std::ostream& os) { // NOLINT
+ HeapObject::PrintHeader(os, "SourcePositionTableWithFrameCache");
+ os << "\n - source_position_table: " << Brief(source_position_table());
+ os << "\n - stack_frame_cache: " << Brief(stack_frame_cache());
+ os << "\n";
+}
+
static void PrintBitMask(std::ostream& os, uint32_t value) { // NOLINT
for (int i = 0; i < 32; i++) {
if ((i & 7) == 0) os << " ";
« include/v8.h ('K') | « src/objects-inl.h ('k') | src/perf-jit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698