aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linearize.h
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-03-07 15:01:35 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2021-03-09 22:17:01 +0100
commit9713796abe30c441f34d9b28d0582ce6f61002fb (patch)
treece2cc7d02e6489df81f0b0f643c636d17ad54210 /linearize.h
parentd1239bab5bc931f14f4dc7c4c55aa66f34cc79b1 (diff)
downloadsparse-dev-9713796abe30c441f34d9b28d0582ce6f61002fb.tar.gz
ssa: fix conversion with mismatched size or offset
The SSA conversion works under the assumption that all the memory operations on a given symbol always refer to the same object. So, exclude the conversion of variables where: * memory operations do not always match in size or offset * there is an implicit integer/float conversion. 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 7909b01f..86ae119c 100644
--- a/linearize.h
+++ b/linearize.h
@@ -18,7 +18,7 @@ struct pseudo_user {
DECLARE_ALLOCATOR(pseudo_user);
DECLARE_PTR_LIST(pseudo_user_list, struct pseudo_user);
-DECLARE_PTRMAP(phi_map, struct symbol *, pseudo_t);
+DECLARE_PTRMAP(phi_map, struct symbol *, struct instruction *);
enum pseudo_type {