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

Side by Side Diff: runtime/lib/profiler.dart

Issue 2451623006: Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Fix Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « runtime/lib/object_patch.dart ('k') | runtime/lib/regexp_patch.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:_internal';
6
7 @patch class UserTag { 5 @patch class UserTag {
8 @patch factory UserTag(String label) { 6 @patch factory UserTag(String label) {
9 return new _UserTag(label); 7 return new _UserTag(label);
10 } 8 }
11 @patch static UserTag get defaultTag => _getDefaultTag(); 9 @patch static UserTag get defaultTag => _getDefaultTag();
12 } 10 }
13 11
14 12
15 class _UserTag implements UserTag { 13 class _UserTag implements UserTag {
16 factory _UserTag(String label) native "UserTag_new"; 14 factory _UserTag(String label) native "UserTag_new";
17 String get label native "UserTag_label"; 15 String get label native "UserTag_label";
18 UserTag makeCurrent() native "UserTag_makeCurrent"; 16 UserTag makeCurrent() native "UserTag_makeCurrent";
19 } 17 }
20 18
21 @patch UserTag getCurrentTag() => _getCurrentTag(); 19 @patch UserTag getCurrentTag() => _getCurrentTag();
22 UserTag _getCurrentTag() native "Profiler_getCurrentTag"; 20 UserTag _getCurrentTag() native "Profiler_getCurrentTag";
23 21
24 UserTag _getDefaultTag() native "UserTag_defaultTag"; 22 UserTag _getDefaultTag() native "UserTag_defaultTag";
OLDNEW
« no previous file with comments | « runtime/lib/object_patch.dart ('k') | runtime/lib/regexp_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698