[pypy-commit] pypy libgccjit-backend: Fix test_compile_bridge

dmalcolm noreply at buildbot.pypy.org
Tue Dec 23 23:11:48 CET 2014


Author: David Malcolm <dmalcolm at redhat.com>
Branch: libgccjit-backend
Changeset: r75095:8fd7e004583c
Date: 2014-12-23 16:45 -0500
http://bitbucket.org/pypy/pypy/changeset/8fd7e004583c/

Log:	Fix test_compile_bridge

diff --git a/rpython/jit/backend/libgccjit/assembler.py b/rpython/jit/backend/libgccjit/assembler.py
--- a/rpython/jit/backend/libgccjit/assembler.py
+++ b/rpython/jit/backend/libgccjit/assembler.py
@@ -304,9 +304,6 @@
 
         self.make_function(name, inputargs, operations)
 
-        self.datablockwrapper.done()      # finish using cpu.asmmemmgr
-        self.datablockwrapper = None
-
         self.ctxt.dump_to_file("/tmp/%s.c" % name, r_int(1))
         jit_result = self.ctxt.compile()
         self.ctxt.release()


More information about the pypy-commit mailing list