Author: mattip <[email protected]>
Branch: object-dtype2
Changeset: r76649:45f5b098008b
Date: 2015-03-30 21:59 +0300
http://bitbucket.org/pypy/pypy/changeset/45f5b098008b/
Log: missing import
diff --git a/rpython/rlib/rgc.py b/rpython/rlib/rgc.py
--- a/rpython/rlib/rgc.py
+++ b/rpython/rlib/rgc.py
@@ -687,6 +687,7 @@
stored in raw memory, you must call this function on 'gc_obj', which must
be the object of type TP with the custom tracer (*not* the value stored!).
This makes sure that the custom hook will be called again."""
+ from rpython.rtyper.lltypesystem.lloperation import llop
llop.gc_writebarrier(lltype.Void, gc_obj)
class RegisterGcTraceEntry(ExtRegistryEntry):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit