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

ericvrp at codespeak.net ericvrp at codespeak.net
Thu Jan 11 11:02:13 CET 2007


Author: ericvrp
Date: Thu Jan 11 11:01:59 2007
New Revision: 36454

Modified:
   pypy/dist/pypy/translator/llvm/externs2ll.py
Log:
small fix to be more llvm-gcc4 compatible


Modified: pypy/dist/pypy/translator/llvm/externs2ll.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/externs2ll.py	(original)
+++ pypy/dist/pypy/translator/llvm/externs2ll.py	Thu Jan 11 11:01:59 2007
@@ -105,6 +105,8 @@
             line = "declare %s %s" % (cconv, line[len(declaretag):])
         ll_lines2.append(line)
 
+    ll_lines2.append("declare ccc void %abort()")
+
     llcode = '\n'.join(ll_lines2)
     try:
         decl, impl = llcode.split('implementation')



More information about the Pypy-commit mailing list