aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linearize.h
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-02-21 23:54:42 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-02-28 22:14:41 +0100
commitc2d25e6aad7dd78fb2e1a4f2afd38a42f3ffa614 (patch)
treefb3743df340e36ca5f112074c81d2fd919c22228 /linearize.h
parenteaceeafad39ade20c28b6634d30379763511c6e6 (diff)
downloadsparse-dev-c2d25e6aad7dd78fb2e1a4f2afd38a42f3ffa614.tar.gz
slice: remove unneeded len from OP_SLICE
OP_SLICE::len is necessarily equal to the result size. So remove this redundancy. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'linearize.h')
-rw-r--r--linearize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linearize.h b/linearize.h
index cf0cf066..4d83675c 100644
--- a/linearize.h
+++ b/linearize.h
@@ -129,7 +129,7 @@ struct instruction {
};
struct /* slice */ {
pseudo_t base;
- unsigned from, len;
+ unsigned from;
};
struct /* setval */ {
struct expression *val;