• Kevin Modzelewski's avatar
    Register owned attributes from rearrangeArguments · 08b0c3f7
    Kevin Modzelewski authored
    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.
    08b0c3f7
test_file2k.py 32 KB