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

Unified Diff: runtime/vm/stack_frame.cc

Issue 2396433003: Lazy deopt: (Closed)
Patch Set: . Created 4 years, 2 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 | « runtime/vm/stack_frame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.cc
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
index f93111e41e411e7a8fd1075898fd605590c2ea1e..66031274181d85f9f9ab2365b5637661da869153 100644
--- a/runtime/vm/stack_frame.cc
+++ b/runtime/vm/stack_frame.cc
@@ -566,4 +566,15 @@ intptr_t InlinedFunctionsIterator::GetDeoptFpOffset() const {
}
+#if defined(DEBUG)
+void ValidateFrames() {
+ StackFrameIterator frames(StackFrameIterator::kValidateFrames);
+ StackFrame* frame = frames.NextFrame();
+ while (frame != NULL) {
+ frame = frames.NextFrame();
+ }
+}
+#endif
+
+
} // namespace dart
« no previous file with comments | « runtime/vm/stack_frame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698