Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r64032:afb35608bfbf
Date: 2013-05-13 17:54 +0200
http://bitbucket.org/pypy/pypy/changeset/afb35608bfbf/
Log: fix the test - secondary callbacks now do that
diff --git a/rpython/translator/c/gcc/test/test_asmgcroot.py
b/rpython/translator/c/gcc/test/test_asmgcroot.py
--- a/rpython/translator/c/gcc/test/test_asmgcroot.py
+++ b/rpython/translator/c/gcc/test/test_asmgcroot.py
@@ -195,10 +195,7 @@
@entrypoint("x42", [lltype.Signed, lltype.Signed], c_name='callback')
def mycallback(a, b):
- rffi.stackcounter.stacks_counter += 1
- llop.gc_stack_bottom(lltype.Void)
gc.collect()
- rffi.stackcounter.stacks_counter -= 1
return a + b
c_source = py.code.Source("""
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit