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

pedronis at codespeak.net pedronis at codespeak.net
Wed Dec 27 15:01:22 CET 2006


Author: pedronis
Date: Wed Dec 27 15:01:21 2006
New Revision: 35997

Modified:
   pypy/dist/pypy/translator/llvm/externs2ll.py
   pypy/dist/pypy/translator/llvm/gc.py
Log:
oops, this should not have been checked in



Modified: pypy/dist/pypy/translator/llvm/externs2ll.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/externs2ll.py	(original)
+++ pypy/dist/pypy/translator/llvm/externs2ll.py	Wed Dec 27 15:01:21 2006
@@ -36,7 +36,7 @@
 
     plain = filename[:-2]
     includes = get_incdirs()
-    cmd = "llvm-gcc %s -emit-llvm -S %s.c -o %s.ll 2>&1" % (includes,
+    cmd = "llvm-gcc %s -S %s.c -o %s.ll 2>&1" % (includes,
                                                  plain,
                                                  plain)
     os.system(cmd)
@@ -64,7 +64,7 @@
         line = line.rstrip()
 
         # find function names, declare them with the default calling convertion
-        if line[-3:] == ') {':
+        if line[-1:] == '{':
            returntype, s = line.split(' ', 1)
            funcname  , s = s.split('(', 1)
            funcnames[funcname] = True

Modified: pypy/dist/pypy/translator/llvm/gc.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/gc.py	(original)
+++ pypy/dist/pypy/translator/llvm/gc.py	Wed Dec 27 15:01:21 2006
@@ -6,7 +6,6 @@
 log = log.gc
 
 def have_boehm():
-    return True
     import distutils.sysconfig
     from os.path import exists
     libdir = distutils.sysconfig.EXEC_PREFIX + "/lib"  



More information about the Pypy-commit mailing list