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

@@ -65,15 +65,15 @@ Destroyed: 101
Copied: 103 to 104
Copied: 203 to 204
Copied: 303 to 304
Destroyed: 103
Destroyed: 203
Destroyed: 303
Destroyed: 204
Copied: 304 to 305
Destroyed: 304
done
Destroyed: 104
Destroyed: 305
Destroyed: 103
Destroyed: 203
Destroyed: 303
Destroyed: 300
Destroyed: 200
Destroyed: 100