aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Li <sparse@chrisli.org>2018-02-25 14:48:13 -0800
committerChristopher Li <sparse@chrisli.org>2018-02-25 14:48:13 -0800
commitd98c855560f79afa5ae8b942040e6c845518291c (patch)
treeefa7bc5ea24fb1666036c3dadbcea2282ef5fca1
parent71da77588620e6fa55bd4ebd33635afec2ea2a24 (diff)
downloadsparse-pseudo-size-fix.tar.gz
Quick fix for the psuedo size crashpseudo-size-fix
-rw-r--r--linearize.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/linearize.h b/linearize.h
index fd8e00d3..50ad0eb3 100644
--- a/linearize.h
+++ b/linearize.h
@@ -30,12 +30,10 @@ enum pseudo_type {
struct pseudo {
int nr;
+ int size; /* OP_SETVAL only */
enum pseudo_type type;
struct pseudo_user_list *users;
- union {
- struct ident *ident;
- int size; /* OP_SETVAL only */
- };
+ struct ident *ident;
union {
struct symbol *sym;
struct instruction *def;