mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-12 14:56:18 +00:00
start drop_specialization
This commit is contained in:
parent
5dff66ae16
commit
00fcdd1a41
6 changed files with 686 additions and 18 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue