[pypy-commit] pypy llvm-translation-backend: Fix compatibility with LLVM 3.6 (and drop support for older versions).

mjacob noreply at buildbot.pypy.org
Sun Mar 29 15:32:12 CEST 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: llvm-translation-backend
Changeset: r76617:12306f051e3b
Date: 2015-03-28 19:04 +0100
http://bitbucket.org/pypy/pypy/changeset/12306f051e3b/

Log:	Fix compatibility with LLVM 3.6 (and drop support for older
	versions).

diff --git a/rpython/translator/llvm/genllvm.py b/rpython/translator/llvm/genllvm.py
--- a/rpython/translator/llvm/genllvm.py
+++ b/rpython/translator/llvm/genllvm.py
@@ -1839,7 +1839,7 @@
                 '}}\n'.format(raise_=get_repr(exctrans.rpyexc_raise_ptr),
                               type=get_repr(self.ovf_err[0]),
                               inst=get_repr(self.ovf_err[1])))
-        f.write('!0 = metadata !{ }\n')
+        f.write('!0 = !{ }\n')
 
     def gen_source(self):
         global database


More information about the pypy-commit mailing list