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

Unified Diff: sdk/lib/_internal/js_runtime/lib/developer_patch.dart

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: sdk/lib/_internal/js_runtime/lib/developer_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/developer_patch.dart b/sdk/lib/_internal/js_runtime/lib/developer_patch.dart
index 7a2c5a6e2509e2399fcb905e507b7ee8504cc954..b1073b2e6f9a2f3c195e6ef032cc9b57fd9a824a 100644
--- a/sdk/lib/_internal/js_runtime/lib/developer_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/developer_patch.dart
@@ -52,6 +52,11 @@ _postEvent(String eventKind, String eventData) {
@patch
+bool _isDartStreamEnabled() {
+ return false;
+}
+
+@patch
int _getTraceClock() {
// TODO.
return _clockValue++;

Powered by Google App Engine
This is Rietveld 408576698