Skip to content
Snippets Groups Projects

Misc. improvements

Merged rarbore2 requested to merge misc into main
Files
13
+ 3
0
@@ -226,6 +226,9 @@ impl<'a> PartitionContext<'a> {
@@ -226,6 +226,9 @@ impl<'a> PartitionContext<'a> {
// pointers to some memory at the LLVM IR level. This memory is passed
// pointers to some memory at the LLVM IR level. This memory is passed
// in as a parameter for anything involving arrays, and is alloca-ed for
// in as a parameter for anything involving arrays, and is alloca-ed for
// product and summation types.
// product and summation types.
 
// TODO: actually do this ^ for products. Right now, products are still
 
// done at the LLVM struct level w/ GEP and so on. Apologies for anyone
 
// else reading this comment.
let mut generate_index_code = |collect: NodeID, indices: &[Index]| -> std::fmt::Result {
let mut generate_index_code = |collect: NodeID, indices: &[Index]| -> std::fmt::Result {
// Step 1: calculate the list of collection types corresponding to
// Step 1: calculate the list of collection types corresponding to
// each index.
// each index.
Loading