aboutsummaryrefslogtreecommitdiffstats
path: root/csc/codegen.csc
AgeCommit message (Collapse)AuthorFilesLines
2022-07-26Fix an issue with how the linker combined files.Rose Hogenson1-2/+4
I inserted jump statements into the bytecode at the beginning of each compilation unit, to jump to the init label. The point is that now the bytecode can be executed from start to finish, and assuming the libraries were ordered correctly, it will run the full program.
2022-07-25Write unit tests for codegen.Rose Hogenson1-54/+73
2022-07-24Write a test for codegen.Rose Hogenson1-1/+2
I'm not sure yet how to test regalloc.
2022-07-24Start codegen.Rose Hogenson1-0/+234