[pypy-svn] r17328 - pypy/dist/pypy/translator

ericvrp at codespeak.net ericvrp at codespeak.net
Wed Sep 7 16:03:54 CEST 2005


Author: ericvrp
Date: Wed Sep  7 16:03:53 2005
New Revision: 17328

Modified:
   pypy/dist/pypy/translator/translator.py
Log:
fix for llvm gcpolicy


Modified: pypy/dist/pypy/translator/translator.py
==============================================================================
--- pypy/dist/pypy/translator/translator.py	(original)
+++ pypy/dist/pypy/translator/translator.py	Wed Sep  7 16:03:53 2005
@@ -282,7 +282,7 @@
         else:
             return genc.CExtModuleBuilder(self, gcpolicy=gcpolicy)
 
-    def llvmcompile(self, really_compile=True, standalone=False, optimize=True, exe_name=None):
+    def llvmcompile(self, really_compile=True, standalone=False, optimize=True, exe_name=None, gcpolicy=None):
         """llvmcompile(self, really_compile=True, standalone=False, optimize=True) -> LLVM translation
         
         Returns LLVM translation with or without optimization.
@@ -296,7 +296,7 @@
         else:
             exe_name = None
         self.frozen = True
-        return genllvm.genllvm(self, really_compile=really_compile, standalone=standalone, optimize=optimize, exe_name=exe_name)
+        return genllvm.genllvm(self, really_compile=really_compile, standalone=standalone, optimize=optimize, exe_name=exe_name, gcpolicy=gcpolicy)
 
     def call(self, *args):
         """Calls underlying Python function."""



More information about the Pypy-commit mailing list