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

Unified Diff: runtime/vm/tags.cc

Issue 1851293005: Improve CPU Profile View (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/tags.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/tags.cc
diff --git a/runtime/vm/tags.cc b/runtime/vm/tags.cc
index c90fe0643b089651f693b99ddc748127a584b2b3..fa3cc67629834c6149763121881f909436b0d962 100644
--- a/runtime/vm/tags.cc
+++ b/runtime/vm/tags.cc
@@ -37,6 +37,17 @@ bool VMTag::IsNativeEntryTag(uword tag) {
}
+bool VMTag::IsDartTag(uword id) {
+ return id == kDartTagId;
+}
+
+
+bool VMTag::IsExitFrameTag(uword id) {
+ return (id != 0) && !IsDartTag(id) && (id != kIdleTagId) &&
+ (id != kVMTagId) && (id != kEmbedderTagId);
+}
+
+
static RuntimeEntry* runtime_entry_list = NULL;
« no previous file with comments | « runtime/vm/tags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698