diff options
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/llvmconvert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/jitter/llvmconvert.py b/miasm2/jitter/llvmconvert.py index 55043964..7374ac6f 100644 --- a/miasm2/jitter/llvmconvert.py +++ b/miasm2/jitter/llvmconvert.py @@ -312,7 +312,7 @@ class LLVMFunction(): "Create an alloca instruction at the beginning of the current fc" builder = self.builder current_bbl = builder.basic_block - builder.position_at_end(self.entry_bbl) + builder.position_at_start(self.entry_bbl) ret = builder.alloca(var_type) builder.position_at_end(current_bbl) |