@@ -1222,7 +1222,7 @@ pub fn compile_guard(bcx: block,
12221222
12231223 let val = unpack_result!(bcx, {
12241224 do with_scope_result(bcx, guard_expr.info(),
1225- ~ " guard") |bcx| {
1225+ " guard") |bcx| {
12261226 expr::trans_to_datum(bcx, guard_expr).to_result()
12271227 }
12281228 });
@@ -1446,7 +1446,7 @@ pub fn compile_submatch(bcx: block,
14461446 }
14471447 let else_cx = match kind {
14481448 no_branch | single => bcx,
1449- _ => sub_block(bcx, ~ " match_else")
1449+ _ => sub_block(bcx, " match_else")
14501450 };
14511451 let sw = if kind == switch {
14521452 Switch(bcx, test_val, else_cx.llbb, opts.len())
@@ -1464,7 +1464,7 @@ pub fn compile_submatch(bcx: block,
14641464 i += 1u;
14651465 let mut opt_cx = else_cx;
14661466 if !exhaustive || i < len {
1467- opt_cx = sub_block(bcx, ~ " match_case");
1467+ opt_cx = sub_block(bcx, " match_case");
14681468 match kind {
14691469 single => Br(bcx, opt_cx.llbb),
14701470 switch => {
@@ -1486,7 +1486,7 @@ pub fn compile_submatch(bcx: block,
14861486 let t = node_id_type(bcx, pat_id);
14871487 let Result {bcx: after_cx, val: matches} = {
14881488 do with_scope_result(bcx, None,
1489- ~ " compare_scope") |bcx| {
1489+ " compare_scope") |bcx| {
14901490 match trans_opt(bcx, opt) {
14911491 single_result(
14921492 Result {bcx, val}) => {
@@ -1514,13 +1514,13 @@ pub fn compile_submatch(bcx: block,
15141514 }
15151515 }
15161516 };
1517- bcx = sub_block(after_cx, ~ " compare_next");
1517+ bcx = sub_block(after_cx, " compare_next");
15181518 CondBr(after_cx, matches, opt_cx.llbb, bcx.llbb);
15191519 }
15201520 compare_vec_len => {
15211521 let Result {bcx: after_cx, val: matches} = {
15221522 do with_scope_result(bcx, None,
1523- ~ " compare_vec_len_scope") |bcx| {
1523+ " compare_vec_len_scope") |bcx| {
15241524 match trans_opt(bcx, opt) {
15251525 single_result(
15261526 Result {bcx, val}) => {
@@ -1552,7 +1552,7 @@ pub fn compile_submatch(bcx: block,
15521552 }
15531553 }
15541554 };
1555- bcx = sub_block(after_cx, ~ " compare_vec_len_next");
1555+ bcx = sub_block(after_cx, " compare_vec_len_next");
15561556 CondBr(after_cx, matches, opt_cx.llbb, bcx.llbb);
15571557 }
15581558 _ => ()
@@ -1610,7 +1610,7 @@ pub fn trans_match(bcx: block,
16101610 arms: ~[ast::arm],
16111611 dest: Dest) -> block {
16121612 let _icx = bcx.insn_ctxt(" match :: trans_match");
1613- do with_scope(bcx, match_expr.info(), ~ " match ") |bcx| {
1613+ do with_scope(bcx, match_expr.info(), " match ") |bcx| {
16141614 trans_match_inner(bcx, discr_expr, arms, dest)
16151615 }
16161616}
@@ -1632,7 +1632,7 @@ pub fn trans_match_inner(scope_cx: block,
16321632
16331633 let mut arm_datas = ~[], matches = ~[];
16341634 for arms.each |arm| {
1635- let body = scope_block(bcx, arm.body.info(), ~ " case_body");
1635+ let body = scope_block(bcx, arm.body.info(), " case_body");
16361636
16371637 // Create the bindings map, which is a mapping from each binding name
16381638 // to an alloca() that will be the value for that local variable.
@@ -1716,7 +1716,7 @@ pub fn trans_match_inner(scope_cx: block,
17161716 fn mk_fail(bcx: block, sp: span, msg: @~str,
17171717 finished: @mut Option<BasicBlockRef>) -> BasicBlockRef {
17181718 match *finished { Some(bb) => return bb, _ => () }
1719- let fail_cx = sub_block(bcx, ~ " case_fallthrough");
1719+ let fail_cx = sub_block(bcx, " case_fallthrough");
17201720 controlflow::trans_fail(fail_cx, Some(sp), msg);
17211721 *finished = Some(fail_cx.llbb);
17221722 return fail_cx.llbb;
0 commit comments