Compile lambdas that have an empty lambda set

Closes #3224

This should also fix a number of other issues often observed when a
lambda is never actually called, but we fail to codegen because it has
an empty lambda set.
This commit is contained in:
ayazhafiz 2022-07-05 23:35:41 -04:00 committed by Ayaz Hafiz
parent 7365da6f69
commit 937b73b797
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 89 additions and 14 deletions

View file

@ -104,6 +104,9 @@ flags! {
/// Prints debug information during the alias analysis pass.
ROC_DEBUG_ALIAS_ANALYSIS
/// Print to stderr when a runtime error function is generated.
ROC_PRINT_RUNTIME_ERROR_GEN
// ===LLVM Gen===
/// Prints LLVM function verification output.