about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitcore.py
diff options
context:
space:
mode:
authorCamille Mougey <camille.mougey@cea.fr>2015-10-23 13:39:40 +0200
committerCamille Mougey <camille.mougey@cea.fr>2015-10-23 13:39:40 +0200
commit663a287f588719b0bc58c4d2a1f7e69f17ee986c (patch)
treed42a2e0744c5884b808e187eabf348a3f136afff /miasm2/jitter/jitcore.py
parent7992751b5a77f3e6765f708a8ffc08ad4a93eb47 (diff)
downloadmiasm-663a287f588719b0bc58c4d2a1f7e69f17ee986c.tar.gz
miasm-663a287f588719b0bc58c4d2a1f7e69f17ee986c.zip
JitcoreTCC: VmMngr argument is useless
Diffstat (limited to 'miasm2/jitter/jitcore.py')
-rw-r--r--miasm2/jitter/jitcore.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/miasm2/jitter/jitcore.py b/miasm2/jitter/jitcore.py
index fd5b02d3..46451520 100644
--- a/miasm2/jitter/jitcore.py
+++ b/miasm2/jitter/jitcore.py
@@ -153,14 +153,12 @@ class JitCore(object):
         # Update jitcode mem range
         self.add_bloc_to_mem_interval(vm, cur_bloc)
 
-    def jit_call(self, label, cpu, vmmngr, breakpoints):
+    def jit_call(self, label, cpu, _vmmngr, breakpoints):
         """Call the function label with cpu and vmmngr states
         @label: function's label
         @cpu: JitCpu instance
-        @vm: VmMngr instance
         @breakpoints: Dict instance of used breakpoints
         """
-        # TODO useless vmmngr
         return self.exec_wrapper(label, cpu, self.lbl2jitbloc.data, breakpoints)
 
     def runbloc(self, cpu, vm, lbl, breakpoints):