about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/sem.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-08-30 13:25:15 +0200
committerGitHub <noreply@github.com>2016-08-30 13:25:15 +0200
commit5b1d3da254338e5d90923fcfb45951c5716443fd (patch)
tree801a49eaea699e4a31dfd42697257975ecc48e55 /miasm2/arch/x86/sem.py
parentf2a9a353b32bf59a06b8738ab05e1d20109f71c9 (diff)
parent4bef63df7266291afae96aae01f2a33dfb74a432 (diff)
downloadmiasm-5b1d3da254338e5d90923fcfb45951c5716443fd.tar.gz
miasm-5b1d3da254338e5d90923fcfb45951c5716443fd.zip
Merge pull request #408 from serpilliere/clean_jitter_codegen
Clean jitter codegen
Diffstat (limited to 'miasm2/arch/x86/sem.py')
-rw-r--r--miasm2/arch/x86/sem.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py
index 11da1e8b..cdc98fba 100644
--- a/miasm2/arch/x86/sem.py
+++ b/miasm2/arch/x86/sem.py
@@ -4571,7 +4571,8 @@ class ir_x86_16(ir):
                 dst = self.expr_fix_regs_for_mode(dst, mode)
                 src = self.expr_fix_regs_for_mode(src, mode)
                 assignblk[dst] = src
-        irbloc.dst = self.expr_fix_regs_for_mode(irbloc.dst, mode)
+        if irbloc.dst is not None:
+            irbloc.dst = self.expr_fix_regs_for_mode(irbloc.dst, mode)
 
 
 class ir_x86_32(ir_x86_16):