about summary refs log tree commit diff stats
path: root/miasm2/arch/mep/jit.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-13 21:52:39 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-13 21:52:39 +0100
commitfcdc5f9e1f48c284c8626112c802868313afaa2e (patch)
tree30a010b762dde9dd3fb8a159770902553a86604e /miasm2/arch/mep/jit.py
parent7f12d5bf72e9a236c71845e932c37352c5df642a (diff)
downloadmiasm-fcdc5f9e1f48c284c8626112c802868313afaa2e.tar.gz
miasm-fcdc5f9e1f48c284c8626112c802868313afaa2e.zip
Jitter: fix pc update in trace mode
Diffstat (limited to '')
-rw-r--r--miasm2/arch/mep/jit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/mep/jit.py b/miasm2/arch/mep/jit.py
index 913d508f..6c0e6ff5 100644
--- a/miasm2/arch/mep/jit.py
+++ b/miasm2/arch/mep/jit.py
@@ -43,11 +43,11 @@ class mep_CGen(CGen):
 
         return out
 
-    def gen_post_code(self, attrib):
+    def gen_post_code(self, attrib, pc_value):
         """Generate C code inserted after the current bloc"""
 
         # Call the base class method
-        out = super(mep_CGen, self).gen_post_code(attrib)
+        out = super(mep_CGen, self).gen_post_code(attrib, pc_value)
 
         # Implement the *REPEAT instructions logics
         tmp = r"""