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

Unified Diff: runtime/vm/timeline.h

Issue 1985813002: Add an intrinsified early out path for Dart timeline calls (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
Index: runtime/vm/timeline.h
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h
index 118eb9f04027a73e040c6b4303d49ee8bf8988af..d91e9090189a519f0e2172072d779ffd74140556 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -71,6 +71,9 @@ class TimelineStream {
private:
const char* name_;
+
+ // This field is accessed by generated code (intrinsic) and expects to see
+ // 0 or 1. If this becomes a BitField, the generated code must be updated.
uintptr_t enabled_;
};

Powered by Google App Engine
This is Rietveld 408576698