Next: TC-L FAQ, Previous: TC-L Given Code, Up: TC-L [Contents][Index]
build_frame
Collect all the local variables used in a function.
Used in the escape collector.
collect_escapes
Collect escapes for every function in the ast, and store them in a map.
This is used for Lambda Lifting
Both functions are based on an internal visitor.
This is where all the translation logic goes.
The translation to LLVM IR is using the llvm::IRBuilder
.
Translate type::Type
objects into llvm::Type
objects.