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

Side by Side Diff: runtime/vm/tags.h

Issue 293963008: Make compilation VM tags more fine grained (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« runtime/vm/object.cc ('K') | « runtime/vm/scanner.cc ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 #ifndef VM_TAGS_H_ 5 #ifndef VM_TAGS_H_
6 #define VM_TAGS_H_ 6 #define VM_TAGS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 class Isolate; 12 class Isolate;
13 class JSONObject; 13 class JSONObject;
14 class RuntimeEntry; 14 class RuntimeEntry;
15 15
16 #define VM_TAG_LIST(V) \ 16 #define VM_TAG_LIST(V) \
17 V(Idle) \ 17 V(Idle) \
18 V(VM) /* Catch all */ \ 18 V(VM) /* Catch all */ \
19 V(Compile) \ 19 V(CompileOptimized) \
20 V(CompileUnoptimized) \
21 V(CompileTopLevel) \
22 V(CompileScanner) \
20 V(Script) \ 23 V(Script) \
21 V(GCNewSpace) \ 24 V(GCNewSpace) \
22 V(GCOldSpace) \ 25 V(GCOldSpace) \
23 V(Runtime) \ 26 V(Runtime) \
24 V(Native) \ 27 V(Native) \
25 28
26 class VMTag : public AllStatic { 29 class VMTag : public AllStatic {
27 public: 30 public:
28 enum VMTagId { 31 enum VMTagId {
29 kInvalidTagId = 0, 32 kInvalidTagId = 0,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 static bool IsUserTag(uword tag_id) { 94 static bool IsUserTag(uword tag_id) {
92 return (tag_id >= kUserTagIdOffset) && 95 return (tag_id >= kUserTagIdOffset) &&
93 (tag_id < kUserTagIdOffset + kMaxUserTags); 96 (tag_id < kUserTagIdOffset + kMaxUserTags);
94 } 97 }
95 }; 98 };
96 99
97 100
98 } // namespace dart 101 } // namespace dart
99 102
100 #endif // VM_TAGS_H_ 103 #endif // VM_TAGS_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/scanner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698