qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes


From: Emilio G. Cota
Subject: [Qemu-devel] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes
Date: Sat, 21 Mar 2015 02:27:12 -0400

This brings down the size of the struct from 56 to 48 bytes.

Signed-off-by: Emilio G. Cota <address@hidden>
---
 tcg/tcg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcg/tcg.h b/tcg/tcg.h
index add7f75..3276924 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -429,8 +429,8 @@ typedef struct TCGTemp {
     int val_type;
     int reg;
     tcg_target_long val;
-    int mem_reg;
     intptr_t mem_offset;
+    int mem_reg;
     unsigned int fixed_reg:1;
     unsigned int mem_coherent:1;
     unsigned int mem_allocated:1;
-- 
1.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]