summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/Ralloc.h
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-03-09 18:06:03 -0800
committer Elliott Hughes <enh@google.com> 2012-03-09 18:06:03 -0800
commit719ace4734f519c67fd2c1ff7a232c079309a615 (patch)
treeccce9abb445238e4a00c9d4bfba093fb16bc8c7c /src/compiler/codegen/Ralloc.h
parentb3cd1229e6904365ca0ca2a7bbc4701ad1908154 (diff)
Stop saying "typedef struct" and "typedef enum".
Seeing new instances of this C-ism go in makes me a sad panda. Change-Id: Ie3dd414b8b5e57a4164e88eb2d8559545569628d
Diffstat (limited to 'src/compiler/codegen/Ralloc.h')
-rw-r--r--src/compiler/codegen/Ralloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen/Ralloc.h b/src/compiler/codegen/Ralloc.h
index c9e5308aad..8c8c693edb 100644
--- a/src/compiler/codegen/Ralloc.h
+++ b/src/compiler/codegen/Ralloc.h
@@ -28,11 +28,11 @@
namespace art {
/* Static register use counts */
-typedef struct RefCounts {
+struct RefCounts {
int count;
int sReg;
bool doubleStart; // Starting vReg for a double
-} RefCounts;
+};
inline int oatS2VReg(CompilationUnit* cUnit, int sReg)