[pypy-svn] r36658 - pypy/dist/pypy/jit/codegen/test
ericvrp at codespeak.net
ericvrp at codespeak.net
Sat Jan 13 15:18:14 CET 2007
Author: ericvrp
Date: Sat Jan 13 15:18:12 2007
New Revision: 36658
Modified:
pypy/dist/pypy/jit/codegen/test/rgenop_tests.py
Log:
Missing builder.end() calls cause the llvm backend to segfault because
actual compilation is done in the end() method!
Modified: pypy/dist/pypy/jit/codegen/test/rgenop_tests.py
==============================================================================
--- pypy/dist/pypy/jit/codegen/test/rgenop_tests.py (original)
+++ pypy/dist/pypy/jit/codegen/test/rgenop_tests.py Sat Jan 13 15:18:12 2007
@@ -403,6 +403,7 @@
return_false_builder.start_writing()
return_false_builder.finish_and_return(sigtoken, rgenop.genconst(0))
+ builder.end()
return gv_f
def make_condition_result_cross_link(rgenop):
@@ -425,6 +426,7 @@
target2.start_writing()
target2.finish_and_return(sigtoken, rgenop.genconst(3))
+ builder.end()
return gv_f
class AbstractRGenOpTests(test_boehm.AbstractGCTestClass):
More information about the Pypy-commit
mailing list