diff options
author | Carl Shapiro <cshapiro@google.com> | 2011-04-15 18:38:06 -0700 |
---|---|---|
committer | Carl Shapiro <cshapiro@google.com> | 2011-04-15 21:18:10 -0700 |
commit | d5c36b9040bd26a81219a7f399513526f9b46324 (patch) | |
tree | 921c49ef9ced8819389ef699ae61296741db71a5 /vm/Misc.h | |
parent | c469fa622ebadfa3defc73a064e2e724f0ab7c75 (diff) | |
download | android_dalvik-d5c36b9040bd26a81219a7f399513526f9b46324.tar.gz android_dalvik-d5c36b9040bd26a81219a7f399513526f9b46324.tar.bz2 android_dalvik-d5c36b9040bd26a81219a7f399513526f9b46324.zip |
Move the remaining non-compiler VM code into C++.
Change-Id: Id8693208d2741c55a7b0474d1264f2112019d11f
Diffstat (limited to 'vm/Misc.h')
-rw-r--r-- | vm/Misc.h | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -90,17 +90,19 @@ INLINE void dvmPrintHexDumpDbg(const void* vaddr, size_t length,const char* tag) #endif } +typedef enum { + kDebugTargetUnknown = 0, + kDebugTargetLog, + kDebugTargetFile, +} DebugTargetKind; + /* * We pass one of these around when we want code to be able to write debug * info to either the log or to a file (or stdout/stderr). */ typedef struct DebugOutputTarget { /* where to? */ - enum { - kDebugTargetUnknown = 0, - kDebugTargetLog, - kDebugTargetFile, - } which; + DebugTargetKind which; /* additional bits */ union { |