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-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
« include/v8.h ('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 ce075bf237ee07f585ae2bd45258f8553109d212..47baf28c0645c427e881fc24d0557be28b913a99 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1309,6 +1309,13 @@ void StackFrameInfo::StackFrameInfoVerify() {
VerifyPointer(script_name_or_source_url());
VerifyPointer(function_name());
}
+
+void SourcePositionTableWithFrameCache::
+ SourcePositionTableWithFrameCacheVerify() {
+ CHECK(IsSourcePositionTableWithFrameCache());
+ VerifyPointer(source_position_table());
+ VerifyPointer(stack_frame_cache());
+}
#endif // VERIFY_HEAP
#ifdef DEBUG
« include/v8.h ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698