[pypy-commit] pypy strbuf-as-buffer: remove pdb.set_trace() for debugging, add move_out_of_nursery to LLInterpreter

plan_rich pypy.commits at gmail.com
Wed Dec 21 02:49:00 EST 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: strbuf-as-buffer
Changeset: r89210:844d198c0d79
Date: 2016-12-21 08:48 +0100
http://bitbucket.org/pypy/pypy/changeset/844d198c0d79/

Log:	remove pdb.set_trace() for debugging, add move_out_of_nursery to
	LLInterpreter

diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransform/framework.py
--- a/rpython/memory/gctransform/framework.py
+++ b/rpython/memory/gctransform/framework.py
@@ -1599,7 +1599,6 @@
             v_ret = hop.genop("direct_call", [self.move_out_of_nursery_ptr,
                                       self.c_const_gc, v_adr],
                                       resulttype=llmemory.Address)
-            import pdb; pdb.set_trace()
             hop.genop("cast_adr_to_ptr", [v_ret],
                       resultvar = hop.spaceop.result)
 
diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py
--- a/rpython/rtyper/llinterp.py
+++ b/rpython/rtyper/llinterp.py
@@ -1135,6 +1135,9 @@
         exc_data.exc_value = lltype.typeOf(evalue)._defl()
         return bool(etype)
 
+    def op_gc_move_out_of_nursery(self, obj):
+        raise NotImplementedError("gc_move_out_of_nursery")
+
 
 class Tracer(object):
     Counter = 0


More information about the pypy-commit mailing list