The field 'orig_type' is only used for casts while 'offset' is only used for memops. Split this in two separated sub-structures so taht we can add an additional field for memops without increasing the total size. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- linearize.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linearize.h b/linearize.h index 1184df981..f7b5c3f44 100644 --- a/linearize.h +++ b/linearize.h @@ -108,7 +108,10 @@ struct instruction { struct /* unops */ { pseudo_t src; struct symbol *orig_type; /* casts */ - unsigned int offset; /* memops */ + }; + struct /* memops */ { + pseudo_t addr; + unsigned int offset; }; struct /* binops and sel */ { pseudo_t src1, src2, src3; -- 2.18.0