@@ -3748,11 +3748,11 @@ fn invoke_(bcx: @block_ctxt, llfn: ValueRef,
3748
3748
3749
3749
fn get_landing_pad ( bcx : @block_ctxt ) -> BasicBlockRef {
3750
3750
let scope_bcx = find_scope_for_lpad ( bcx) ;
3751
- if scope_bcx. need_new_lpad {
3751
+ if scope_bcx. cleanups_dirty {
3752
3752
let unwind_bcx = new_sub_block_ctxt ( bcx, "unwind" ) ;
3753
3753
let lpadbb = trans_landing_pad ( unwind_bcx) ;
3754
3754
scope_bcx. lpad = some ( lpadbb) ;
3755
- scope_bcx. need_new_lpad = false ;
3755
+ scope_bcx. cleanups_dirty = false ;
3756
3756
}
3757
3757
assert option:: is_some ( scope_bcx. lpad ) ;
3758
3758
ret option:: get ( scope_bcx. lpad ) ;
@@ -4566,7 +4566,7 @@ fn new_block_ctxt(cx: @fn_ctxt, parent: block_parent, kind: block_kind,
4566
4566
parent : parent,
4567
4567
kind : kind,
4568
4568
mutable cleanups : [ ] ,
4569
- mutable need_new_lpad : true ,
4569
+ mutable cleanups_dirty : true ,
4570
4570
mutable lpad: option:: none,
4571
4571
sp : cx. sp ,
4572
4572
fcx : cx} ;
@@ -4602,7 +4602,7 @@ fn new_raw_block_ctxt(fcx: @fn_ctxt, llbb: BasicBlockRef) -> @block_ctxt {
4602
4602
parent : parent_none,
4603
4603
kind : NON_SCOPE_BLOCK ,
4604
4604
mutable cleanups : [ ] ,
4605
- mutable need_new_lpad : true ,
4605
+ mutable cleanups_dirty : true ,
4606
4606
mutable lpad: option:: none,
4607
4607
sp : fcx. sp ,
4608
4608
fcx : fcx} ;
@@ -4670,7 +4670,7 @@ fn llstaticallocas_block_ctxt(fcx: @fn_ctxt) -> @block_ctxt {
4670
4670
parent : parent_none,
4671
4671
kind : SCOPE_BLOCK ,
4672
4672
mutable cleanups : [ ] ,
4673
- mutable need_new_lpad : true ,
4673
+ mutable cleanups_dirty : true ,
4674
4674
mutable lpad: option:: none,
4675
4675
sp : fcx. sp ,
4676
4676
fcx : fcx} ;
@@ -4682,7 +4682,7 @@ fn llderivedtydescs_block_ctxt(fcx: @fn_ctxt) -> @block_ctxt {
4682
4682
parent : parent_none,
4683
4683
kind : SCOPE_BLOCK ,
4684
4684
mutable cleanups : [ ] ,
4685
- mutable need_new_lpad : true ,
4685
+ mutable cleanups_dirty : true ,
4686
4686
mutable lpad: option:: none,
4687
4687
sp : fcx. sp ,
4688
4688
fcx : fcx} ;
0 commit comments