Moved copy_constructing into functions and destructing the results into obj_lower. Removed all defer_stack from c_generator. The last thing should be to move ref handling into obj_lower or maybe a pass after, then the rest of c_generator can be cleaned up and fixing interpreter (except for closures) should be easy.
This commit is contained in:
@@ -39,9 +39,9 @@ copy_construct outFunc : 1!
|
||||
destroyed outFunc : 0!
|
||||
destroyed inFunc : 1!
|
||||
copy_construct outFunc : 2!
|
||||
destroyed outFunc : 1!
|
||||
time for the end
|
||||
destroyed outFunc : 2!
|
||||
destroyed outFunc : 1!
|
||||
destroyed inFunc : 0!
|
||||
destroyed a2 : 0!
|
||||
destroyed a : 0!
|
||||
|
||||
Reference in New Issue
Block a user