File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5016,12 +5016,12 @@ impl Function {
50165016 flush_aliasing ( & mut compile_time_heap, offset) ;
50175017 } ,
50185018 insn => {
5019- let insn_reads_memory = insn. effects_of ( ) . includes ( Effect :: read ( abstract_heaps:: Memory ) ) ;
5020- let insn_uses_control_flow = insn. effects_of ( ) . includes ( Effect :: write ( abstract_heaps:: Control ) ) ;
5019+ let insn_can_read_memory = insn. effects_of ( ) . includes ( Effect :: read ( abstract_heaps:: Memory ) ) ;
5020+ let insn_can_modify_control_flow = insn. effects_of ( ) . includes ( Effect :: write ( abstract_heaps:: Control ) ) ;
50215021 // TODO(Jacob): We should refine the control flow check
50225022 // For instance, we could sink the StoreField instruction into failed guards
50235023 // This allows us to preserve the dead store optimization.
5024- if insn_reads_memory || insn_uses_control_flow {
5024+ if insn_can_read_memory || insn_can_modify_control_flow {
50255025 compile_time_heap. clear ( ) ;
50265026 }
50275027 }
You can’t perform that action at this time.
0 commit comments