[PATCH v1 2/4] make space for PSEUDO_VAL have a type

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

 



Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 linearize.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/linearize.h b/linearize.h
index 9d192f7aa..7a3403095 100644
--- a/linearize.h
+++ b/linearize.h
@@ -31,12 +31,14 @@ enum pseudo_type {
 struct pseudo {
 	int nr;
 	enum pseudo_type type;
-	struct pseudo_user_list *users;
+	union {
+		struct pseudo_user_list *users;
+		long long value;	// PSEUDO_VAL
+	};
 	struct ident *ident;
 	union {
 		struct symbol *sym;	// PSEUDO_SYM & ARG
 		struct instruction *def;// PSEUDO_REG & PHI
-		long long value;	// PSEUDO_VAL
 	};
 	void *priv;
 };
-- 
2.11.1

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux