Incorporate review comments (mostly fixing indentation)
Previous commit was r=nmatsakis
This commit is contained in:
parent
dd66e7549b
commit
dca0776747
@ -596,7 +596,7 @@ struct Liveness {
|
||||
users: ~[mut users],
|
||||
// The list of node IDs for the nested loop scopes
|
||||
// we're in.
|
||||
mut loop_scope: @DVec<node_id>,
|
||||
loop_scope: DVec<node_id>,
|
||||
// mappings from loop node ID to LiveNode
|
||||
// ("break" label should map to loop node ID,
|
||||
// it probably doesn't now)
|
||||
|
@ -113,7 +113,6 @@ fn trans_while(bcx: block, cond: @ast::expr, body: ast::blk)
|
||||
// | body_bcx_out --+
|
||||
// next_bcx
|
||||
|
||||
// tjc: while should have labels...
|
||||
let loop_bcx = loop_scope_block(bcx, next_bcx, None, ~"`while`",
|
||||
body.info());
|
||||
let cond_bcx_in = scope_block(loop_bcx, cond.info(), ~"while loop cond");
|
||||
|
@ -2564,8 +2564,7 @@ fn may_break(cx: ty::ctxt, id: ast::node_id, b: ast::blk) -> bool {
|
||||
_ => false,
|
||||
},
|
||||
_ => false
|
||||
}
|
||||
}))
|
||||
}}))
|
||||
}
|
||||
|
||||
fn check_bounds_are_used(ccx: @crate_ctxt,
|
||||
|
Loading…
Reference in New Issue
Block a user