Register owned attributes from rearrangeArguments
The Rewriter will automatically refcount objects represented as RewriterVar's, but if you store one as an attribute somewhere, it can't keep track of that. So add a registerOwnedAttribute() function that lets you say that there is a reference that lives in an attribute (stored in a memory offset) of another RewriterVar.
Showing
test/tests/oargs_decref.py
0 → 100644
Please register or sign in to comment