diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-10-23 13:39:40 +0200 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-10-23 13:39:40 +0200 |
| commit | 663a287f588719b0bc58c4d2a1f7e69f17ee986c (patch) | |
| tree | d42a2e0744c5884b808e187eabf348a3f136afff | |
| parent | 7992751b5a77f3e6765f708a8ffc08ad4a93eb47 (diff) | |
| download | miasm-663a287f588719b0bc58c4d2a1f7e69f17ee986c.tar.gz miasm-663a287f588719b0bc58c4d2a1f7e69f17ee986c.zip | |
JitcoreTCC: VmMngr argument is useless
| -rw-r--r-- | miasm2/jitter/jitcore.py | 4 |
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): |