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

@@ -24,10 +24,10 @@ destruct with 101
destruct with 1
copy construct from 3 to 4
copy construct from 103 to 104
destruct with 3
destruct with 103
done
destruct with 4
destruct with 104
destruct with 3
destruct with 103
destruct with 100
destruct with 0