• Jeremy Hylton's avatar
    Remove f_closure slot of frameobject and use f_localsplus instead. · 2b724da8
    Jeremy Hylton yazdı
    This change eliminates an extra malloc/free when a frame with free
    variables is created.  Any cell vars or free vars are stored in
    f_localsplus after the locals and before the stack.
    
    eval_code2() fills in the appropriate values after handling
    initialization of locals.
    
    To track the size the frame has an f_size member that tracks the total
    size of f_localsplus. It used to be implicitly f_nlocals + f_stacksize.
    2b724da8
ceval.c 76.6 KB