From 719ace4734f519c67fd2c1ff7a232c079309a615 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 9 Mar 2012 18:06:03 -0800 Subject: Stop saying "typedef struct" and "typedef enum". Seeing new instances of this C-ism go in makes me a sad panda. Change-Id: Ie3dd414b8b5e57a4164e88eb2d8559545569628d --- src/compiler/codegen/Ralloc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/codegen/Ralloc.h') 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) -- cgit v1.2.3-59-g8ed1b