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

mwh at codespeak.net mwh at codespeak.net
Sun Mar 25 11:28:46 CEST 2007


Author: mwh
Date: Sun Mar 25 11:28:45 2007
New Revision: 41269

Modified:
   pypy/dist/pypy/translator/llvm/opwriter.py
Log:
a stub defintion for debug_fatalerror (discards the message).
lets pypy-llvm-jit build.


Modified: pypy/dist/pypy/translator/llvm/opwriter.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/opwriter.py	(original)
+++ pypy/dist/pypy/translator/llvm/opwriter.py	Sun Mar 25 11:28:45 2007
@@ -565,6 +565,10 @@
     def debug_print(self, opr):
         pass     # XXX
 
+    def debug_fatalerror(self, opr):
+        # XXX message?
+        self.codewriter.call(None, "void", "%abort", [], [])
+
     def hint(self, opr):
         self.same_as(opr)
 



More information about the Pypy-commit mailing list