Chromium Code Reviews| Index: runtime/vm/tags.h |
| diff --git a/runtime/vm/tags.h b/runtime/vm/tags.h |
| index de0468f7d5f3db80255a3a9c2bc06318b1d82b3d..8271a0068ea2d4ce5b7281c6fb2f103d2b4c6536 100644 |
| --- a/runtime/vm/tags.h |
| +++ b/runtime/vm/tags.h |
| @@ -6,11 +6,14 @@ |
| #define VM_TAGS_H_ |
| #include "vm/allocation.h" |
| +class RuntimeEntry; |
|
siva
2014/04/10 17:58:22
Repeated again below, I guess it is not needed her
Cutch
2014/04/10 20:17:32
Done.
|
| namespace dart { |
| class Isolate; |
| class JSONObject; |
| +class RuntimeEntry; |
| + |
| #define VM_TAG_LIST(V) \ |
| V(Idle) \ |
| @@ -19,7 +22,8 @@ class JSONObject; |
| V(Script) \ |
| V(GCNewSpace) \ |
| V(GCOldSpace) \ |
| - V(RuntimeNative) \ |
| + V(Runtime) \ |
| + V(Native) \ |
| class VMTag : public AllStatic { |
| @@ -34,6 +38,12 @@ class VMTag : public AllStatic { |
| }; |
| static const char* TagName(uword id); |
| + static bool IsNativeEntryTag(uword id); |
| + |
| + static bool IsRuntimeEntryTag(uword id); |
| + static const char* RuntimeEntryTagName(uword id); |
| + |
| + static void RegisterRuntimeEntry(const RuntimeEntry* runtime_entry); |
| private: |
| struct TagEntry { |