about summary refs log tree commit diff stats
path: root/test/core/sembuilder.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 18:13:24 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-02-09 18:13:24 +0100
commit275b8d25aacd639a0512f54e99f9fa247ecb8bb3 (patch)
tree669a16a156874aa97ed27fd14a18130b9ea5ae16 /test/core/sembuilder.py
parentc2e52be18ddd2eeb86b413e851a3ade0ceeca1dc (diff)
downloadmiasm-275b8d25aacd639a0512f54e99f9fa247ecb8bb3.tar.gz
miasm-275b8d25aacd639a0512f54e99f9fa247ecb8bb3.zip
Expression: no default size for ExprId
Diffstat (limited to 'test/core/sembuilder.py')
-rw-r--r--test/core/sembuilder.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/core/sembuilder.py b/test/core/sembuilder.py
index 70d6d5ec..ebf9f385 100644
--- a/test/core/sembuilder.py
+++ b/test/core/sembuilder.py
@@ -8,7 +8,7 @@ from miasm2.core.asmblock import AsmLabel
 # Test classes
 class IR(object):
 
-    IRDst = m2_expr.ExprId("IRDst")
+    IRDst = m2_expr.ExprId("IRDst", 32)
 
     def get_next_instr(self, _):
         return AsmLabel("NEXT")
@@ -41,9 +41,9 @@ def test(Arg1, Arg2, Arg3):
     else:
         alias = {i16(4), i8(5)}
 
-a = m2_expr.ExprId('A')
-b = m2_expr.ExprId('B')
-c = m2_expr.ExprId('C')
+a = m2_expr.ExprId('A', 32)
+b = m2_expr.ExprId('B', 32)
+c = m2_expr.ExprId('C', 32)
 ir = IR()
 instr = Instr()
 res = test(ir, instr, a, b, c)