about summary refs log tree commit diff stats
path: root/miasm2/jitter/codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/jitter/codegen.py')
-rw-r--r--miasm2/jitter/codegen.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/miasm2/jitter/codegen.py b/miasm2/jitter/codegen.py
index 7630a2ef..c5f28b9f 100644
--- a/miasm2/jitter/codegen.py
+++ b/miasm2/jitter/codegen.py
@@ -307,14 +307,10 @@ class CGen(object):
                 return ("%s" % dst2index[label],
                         "0")
 
-        elif (isinstance(expr, m2_expr.ExprId) or
-              isinstance(expr, m2_expr.ExprMem) or
-              isinstance(expr, m2_expr.ExprSlice)):
+        else:
             dst2index[expr] = -1
             return ("-1",
                     self.id_to_c(expr))
-        else:
-            raise RuntimeError("Unsupported IRDst type %s" % expr)
 
     def gen_assignblk_dst(self, dst):
         dst2index = {}