about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorserpilliere <fabrice.desclaux@cea.fr>2015-07-31 20:42:37 +0200
committerserpilliere <fabrice.desclaux@cea.fr>2015-07-31 20:42:37 +0200
commit4fc49aac4a5d06ed03b216a635fd9da9bf090ea1 (patch)
tree1b8d428987b6995e922a9a8d91f853d845eb5131 /test
parent81c1c68abd1771a979d33c1b71227e98062d0475 (diff)
downloadmiasm-4fc49aac4a5d06ed03b216a635fd9da9bf090ea1.tar.gz
miasm-4fc49aac4a5d06ed03b216a635fd9da9bf090ea1.zip
Test/ir: updt regression test
Diffstat (limited to 'test')
-rw-r--r--test/ir/ir2C.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ir/ir2C.py b/test/ir/ir2C.py
index 3a89b328..8a5f97c4 100644
--- a/test/ir/ir2C.py
+++ b/test/ir/ir2C.py
@@ -48,7 +48,7 @@ class TestIrIr2C(unittest.TestCase):
         self.translationTest(
             ExprOp('segm',    *args[:2]), r'segm2addr(jitcpu, 0x0, 0x1)')
         self.translationTest(
-            ExprOp('imod',    *args[:2]), r'imod32(jitcpu, 0x0, 0x1)')
+            ExprOp('imod',    *args[:2]), r'imod32((vm_cpu_t*)jitcpu->cpu, 0x0, 0x1)')
         self.translationTest(
             ExprOp('bcdadd',  *args[:2]), r'bcdadd_32(0x0, 0x1)')
         self.assertRaises(NotImplementedError, translator.from_expr,