OLD | NEW |
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 RUNTIME_VM_TAGS_H_ |
6 #define VM_TAGS_H_ | 6 #define RUNTIME_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) \ |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 static const char* TagName(uword tag_id); | 116 static const char* TagName(uword tag_id); |
117 static bool IsUserTag(uword tag_id) { | 117 static bool IsUserTag(uword tag_id) { |
118 return (tag_id >= kUserTagIdOffset) && | 118 return (tag_id >= kUserTagIdOffset) && |
119 (tag_id < kUserTagIdOffset + kMaxUserTags); | 119 (tag_id < kUserTagIdOffset + kMaxUserTags); |
120 } | 120 } |
121 }; | 121 }; |
122 | 122 |
123 | 123 |
124 } // namespace dart | 124 } // namespace dart |
125 | 125 |
126 #endif // VM_TAGS_H_ | 126 #endif // RUNTIME_VM_TAGS_H_ |
OLD | NEW |