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

ericvrp at codespeak.net ericvrp at codespeak.net
Fri Dec 9 16:12:57 CET 2005


Author: ericvrp
Date: Fri Dec  9 16:12:54 2005
New Revision: 20944

Modified:
   pypy/dist/pypy/translator/llvm/build_llvm_module.py
   pypy/dist/pypy/translator/llvm/extfuncnode.py
Log:
fix for int/long mistake with LL_os_seek


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	Fri Dec  9 16:12:54 2005
@@ -83,7 +83,7 @@
     #ball = str(dirpath.join('%s_all.bc' % b))
     #cmds.append("opt %s %s -f -o %s.bc" % (OPTIMIZATION_SWITCHES, ball, b))
 
-    use_gcc = True
+    use_gcc = sys.platform == 'linux2'
     profile = False
     cleanup = False
 

Modified: pypy/dist/pypy/translator/llvm/extfuncnode.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/extfuncnode.py	(original)
+++ pypy/dist/pypy/translator/llvm/extfuncnode.py	Fri Dec  9 16:12:54 2005
@@ -13,6 +13,7 @@
 ext_func_sigs = {
     "%LL_os_isatty" : ExtFuncSig("int", None),
     "%LL_stack_too_big" : ExtFuncSig("int", None),
+    "%LL_os_lseek" : ExtFuncSig("long", None),
     "%LL_thread_acquirelock" : ExtFuncSig("int", [None, "int"]),
     "%LL_thread_start" : ExtFuncSig(None, ["sbyte*", "sbyte*"])}
     



More information about the Pypy-commit mailing list