about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/analysis/ssa.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/analysis/ssa.py b/miasm2/analysis/ssa.py
index 2f25e4b8..a8a50351 100644
--- a/miasm2/analysis/ssa.py
+++ b/miasm2/analysis/ssa.py
@@ -656,7 +656,7 @@ def remove_phi(ssa, head):
         # Place var init for non ssa variables
         to_remove = set()
         for phi_source in list(phi_sources):
-            if phi_source not in all_ssa_vars.union(phivar2var):
+            if phi_source not in all_ssa_vars.union(phivar2var.values()):
                 assignblk_dct = get_assignblk(ssa.graph, head, 0)
                 assignblk_dct[new_var] = phi_source
                 new_irblock = set_assignblk(ssa.graph, head, 0, assignblk_dct)