[pypy-svn] r17274 - pypy/dist/pypy/translator/llvm

ericvrp at codespeak.net ericvrp at codespeak.net
Tue Sep 6 13:28:48 CEST 2005


Author: ericvrp
Date: Tue Sep  6 13:28:47 2005
New Revision: 17274

Modified:
   pypy/dist/pypy/translator/llvm/build_llvm_module.py
Log:
disables usage of llvm stack2heap optz pass until it's debugged


Modified: pypy/dist/pypy/translator/llvm/build_llvm_module.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/build_llvm_module.py	(original)
+++ pypy/dist/pypy/translator/llvm/build_llvm_module.py	Tue Sep  6 13:28:47 2005
@@ -33,8 +33,8 @@
 
 flags = os.popen("gccas /dev/null -o /dev/null -debug-pass=Arguments 2>&1").read()[17:-1].split()
 
-if int(os.popen("opt --help 2>&1").read().find('-heap2stack')) >= 0:
-    flags.insert(flags.index("-inline")+1, "-heap2stack")
+#if int(os.popen("opt --help 2>&1").read().find('-heap2stack')) >= 0:
+#    flags.insert(flags.index("-inline")+1, "-heap2stack -debug")
 
 OPTIMIZATION_SWITCHES = " ".join(flags)
 #print OPTIMIZATION_SWITCHES



More information about the Pypy-commit mailing list