about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitcore_llvm.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-01-05 16:11:32 +0100
committerAjax <commial@gmail.com>2017-01-05 16:11:32 +0100
commitefef33fb6e6d3a0d4c4c6818a57a9f7e829d4da1 (patch)
tree4f2a29ab37f22d1ffcae3bd4c5b95d2a6d44899c /miasm2/jitter/jitcore_llvm.py
parent06461f1bd7a8c987b47381dffa3e1462cee8e44f (diff)
downloadmiasm-efef33fb6e6d3a0d4c4c6818a57a9f7e829d4da1.tar.gz
miasm-efef33fb6e6d3a0d4c4c6818a57a9f7e829d4da1.zip
LLVM: avoid going back to Python while next block are already jitted
Diffstat (limited to 'miasm2/jitter/jitcore_llvm.py')
-rw-r--r--miasm2/jitter/jitcore_llvm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm2/jitter/jitcore_llvm.py b/miasm2/jitter/jitcore_llvm.py
index 0f265073..9f9a63e4 100644
--- a/miasm2/jitter/jitcore_llvm.py
+++ b/miasm2/jitter/jitcore_llvm.py
@@ -99,4 +99,5 @@ class JitCore_LLVM(jitcore.JitCore):
         @cpu: JitCpu instance
         @breakpoints: Dict instance of used breakpoints
         """
-        return self.exec_wrapper(self.lbl2jitbloc[label], cpu, cpu.vmmngr.vmmngr)
+        return self.exec_wrapper(label, cpu, cpu.vmmngr.vmmngr,
+                                 self.lbl2jitbloc.data, breakpoints)