Add debug flag to check IR after specialization

This commit is contained in:
Ayaz Hafiz 2022-12-05 18:05:35 -06:00
parent b6c9c7c145
commit a2b506ab1b
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 28 additions and 2 deletions

View file

@ -119,6 +119,9 @@ flags! {
// ===Mono===
/// Type-checks the mono IR after specialization.
ROC_CHECK_MONO_IR
/// Writes a pretty-printed mono IR to stderr after function specialization.
ROC_PRINT_IR_AFTER_SPECIALIZATION