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

rxe at codespeak.net rxe at codespeak.net
Sat Oct 27 16:08:58 CEST 2007


Author: rxe
Date: Sat Oct 27 16:08:58 2007
New Revision: 48110

Modified:
   pypy/dist/pypy/translator/llvm/codewriter.py
Log:
oops that went with rev 48108

Modified: pypy/dist/pypy/translator/llvm/codewriter.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/codewriter.py	(original)
+++ pypy/dist/pypy/translator/llvm/codewriter.py	Sat Oct 27 16:08:58 2007
@@ -78,6 +78,9 @@
     def arraydef(self, name, lentype, typerepr):
         self.typedef(name, "{ %s, [0 x %s] }" % (lentype, typerepr))
 
+    def arraynolendef(self, name, typerepr):
+        self.typedef(name, "[0 x %s]" % (typerepr))
+
     def fixedarraydef(self, name, arraylen, typerepr):
         self.typedef(name, "[%s x %s]" % (arraylen, typerepr))
 



More information about the Pypy-commit mailing list