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

Unified Diff: src/objects-debug.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
« src/api.cc ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 45cee36cbddd25ebd8f7581790bc65e643c27cda..5ead064d23b7eb7dfc7eb78bb38f0066f2188032 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1314,6 +1314,13 @@ void StackTraceInfo::StackTraceInfoVerify() {
CHECK(IsStackTraceInfo());
VerifyPointer(frames());
}
+
+void SourcePositionTableWithFrameCache::
+ SourcePositionTableWithFrameCacheVerify() {
+ CHECK(IsSourcePositionTableWithFrameCache());
+ VerifyPointer(source_position_table());
+ VerifyPointer(stack_frame_cache());
+}
#endif // VERIFY_HEAP
#ifdef DEBUG
« src/api.cc ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698