[pypy-svn] r65016 - pypy/branch/pyjitpl5/pypy/jit/backend/llvm
arigo at codespeak.net
arigo at codespeak.net
Mon May 4 12:07:08 CEST 2009
Author: arigo
Date: Mon May 4 12:07:06 2009
New Revision: 65016
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/llvm/runner.py
Log:
Pointed (indirectly) by antocuni: risk of recursion.
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/llvm/runner.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/llvm/runner.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/llvm/runner.py Mon May 4 12:07:06 2009
@@ -278,6 +278,8 @@
def set_future_value_int(self, index, intvalue):
assert index < self.in_args_count - 1
+ if self.in_args[index]:
+ llvm_rffi.LLVMDisposeGenericValue(self.in_args[index])
self.in_args[index] = llvm_rffi.LLVMCreateGenericValueOfInt(
self.ty_int, intvalue, True)
More information about the Pypy-commit
mailing list