start drop_specialization

This commit is contained in:
J.Teeuwissen 2023-04-20 13:03:29 +02:00
parent 5dff66ae16
commit 00fcdd1a41
No known key found for this signature in database
GPG key ID: DB5F7A1ED8D478AD
6 changed files with 686 additions and 18 deletions

View file

@ -14,7 +14,7 @@ use roc_can::expr::{AnnotatedMark, ClosureData, ExpectLookup};
use roc_can::module::ExposedByModule;
use roc_collections::all::{default_hasher, BumpMap, BumpMapDefault, MutMap};
use roc_collections::VecMap;
use roc_debug_flags::dbg_do;
use roc_debug_flags::{dbg_do, ROC_PRINT_IR_AFTER_DROP_SPECIALIZATION};
#[cfg(debug_assertions)]
use roc_debug_flags::{
ROC_PRINT_IR_AFTER_REFCOUNT, ROC_PRINT_IR_AFTER_RESET_REUSE, ROC_PRINT_IR_AFTER_SPECIALIZATION,
@ -57,6 +57,9 @@ pub fn pretty_print_ir_symbols() -> bool {
dbg_do!(ROC_PRINT_IR_AFTER_REFCOUNT, {
return true;
});
dbg_do!(ROC_PRINT_IR_AFTER_DROP_SPECIALIZATION, {
return true;
});
false
}