diff options
Diffstat (limited to 'miasm2/jitter/llvmconvert.py')
| -rw-r--r-- | miasm2/jitter/llvmconvert.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miasm2/jitter/llvmconvert.py b/miasm2/jitter/llvmconvert.py index 1c2b453b..3ef45e60 100644 --- a/miasm2/jitter/llvmconvert.py +++ b/miasm2/jitter/llvmconvert.py @@ -398,7 +398,7 @@ class LLVMContext_JIT(LLVMContext): builder.store(value, ret) value_ptr = builder.bitcast(ret, llvm_ir.IntType(8).as_pointer()) - ret = builder.call( + builder.call( fc_ptr, [ func.local_vars["jitcpu"], @@ -581,7 +581,6 @@ class LLVMFunction(): ptr = builder.gep(self.local_vars["vmcpu"], [llvm_ir.Constant(LLVMType.IntType(), offset)]) - regs = self.llvm_context.ir_arch.arch.regs pointee_type = LLVMType.IntType(expr.size) ptr_casted = builder.bitcast(ptr, llvm_ir.PointerType(pointee_type)) |