diff options
author | Christopher Li <sparse@chrisli.org> | 2018-02-25 14:48:13 -0800 |
---|---|---|
committer | Christopher Li <sparse@chrisli.org> | 2018-02-25 14:48:13 -0800 |
commit | d98c855560f79afa5ae8b942040e6c845518291c (patch) | |
tree | efa7bc5ea24fb1666036c3dadbcea2282ef5fca1 | |
parent | 71da77588620e6fa55bd4ebd33635afec2ea2a24 (diff) | |
download | sparse-pseudo-size-fix.tar.gz |
Quick fix for the psuedo size crashpseudo-size-fix
-rw-r--r-- | linearize.h | 6 |
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; |