about summary refs log tree commit diff stats
path: root/test/arch/x86/unit/asm_test.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2016-04-26 12:21:42 +0200
committerCamille Mougey <commial@gmail.com>2016-04-26 12:21:42 +0200
commita4b68c16b2adcffc912de45baf2ddfb3aa8ad15b (patch)
tree799c371e50e75d305356231629e0451d3e4ae82f /test/arch/x86/unit/asm_test.py
parent1d2b008cfd6f8ea92c5af3e18081d8c56e43820e (diff)
parent7feb00c46c70529b22126913d4adea7e196cb706 (diff)
downloadmiasm-a4b68c16b2adcffc912de45baf2ddfb3aa8ad15b.tar.gz
miasm-a4b68c16b2adcffc912de45baf2ddfb3aa8ad15b.zip
Merge pull request #357 from serpilliere/jit_gcc
Jit gcc
Diffstat (limited to 'test/arch/x86/unit/asm_test.py')
-rw-r--r--test/arch/x86/unit/asm_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/arch/x86/unit/asm_test.py b/test/arch/x86/unit/asm_test.py
index 118a57b4..4e1d03b8 100644
--- a/test/arch/x86/unit/asm_test.py
+++ b/test/arch/x86/unit/asm_test.py
@@ -23,8 +23,8 @@ reg_and_id = dict(mn_x86.regs.all_regs_ids_byname)
 class Asm_Test(object):
     run_addr = 0x0
 
-    def __init__(self):
-        self.myjit = Machine(self.arch_name).jitter()
+    def __init__(self, jitter_engine):
+        self.myjit = Machine(self.arch_name).jitter(jitter_engine)
         self.myjit.init_stack()
 
         self.myjit.jit.log_regs = False
@@ -84,8 +84,8 @@ class Asm_Test_16(Asm_Test):
     arch_attrib = 16
     ret_addr = 0x1337
 
-    def __init__(self):
-        self.myjit = Machine(self.arch_name).jitter()
+    def __init__(self, jitter_engine):
+        self.myjit = Machine(self.arch_name).jitter(jitter_engine)
         self.myjit.stack_base = 0x1000
         self.myjit.stack_size = 0x1000
         self.myjit.init_stack()