Heap allocation basics (#1323)

* initial implementation of new and delete

* remove requirement for empty heap from trace.carbon

* more tests

* fixed substitution for generic function types
This commit is contained in:
Jeremy G. Siek
2022-06-11 18:47:07 -04:00
committed by GitHub
parent 6ab9c487be
commit b759401328
22 changed files with 436 additions and 50 deletions
-4
View File
@@ -18,10 +18,6 @@
// CHECK: ********** starting execution **********
// CHECK: ********** initializing globals **********
// CHECK: ********** calling main function **********
// CHECK: {
// CHECK: stack:
// CHECK: memory:
// CHECK: }
// CHECK: --- step exp Main() .0. (<Main()>:0) --->
// CHECK: result: 0