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:
Nathan Braswell
2016-06-26 04:44:54 -07:00
parent 4cc0d26c4c
commit 15fe2aeba4
7 changed files with 140 additions and 185 deletions

View File

@@ -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!