Skip to content

Commit d12cb3d

Browse files
committed
---
yaml --- r: 1006 b: refs/heads/master c: 4316df6 h: refs/heads/master v: v3
1 parent 36292e6 commit d12cb3d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a98b2ebb4ad090d3d7eaa9ab3b1d98be0867e990
2+
refs/heads/master: 4316df63231dbf9c698e1bf464f7cecafea54a0c

trunk/src/comp/middle/trans.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -587,13 +587,13 @@ fn iter_structural_ty(@block_ctxt cx,
587587
auto lldiscrim_ptr = cx.build.GEP(v, vec(C_int(0), C_int(0)));
588588
auto llunion_ptr = cx.build.GEP(v, vec(C_int(0), C_int(1)));
589589
auto lldiscrim = cx.build.Load(lldiscrim_ptr);
590-
590+
591591
auto unr_cx = new_sub_block_ctxt(cx, "tag-iter-unr");
592592
unr_cx.build.Unreachable();
593593

594594
auto llswitch = cx.build.Switch(lldiscrim, unr_cx.llbb,
595595
n_variants);
596-
596+
597597
auto next_cx = new_sub_block_ctxt(cx, "tag-iter-next");
598598

599599
auto i = 0u;
@@ -1961,7 +1961,7 @@ fn trans_constant(&@crate_ctxt cx, @ast.item it) -> @crate_ctxt {
19611961
// Nullary tags become constants.
19621962
auto union_val = C_union(union_ty, C_nil());
19631963
auto val = C_struct(vec(C_int(i as int), union_val));
1964-
1964+
19651965
// FIXME: better name
19661966
auto gvar = llvm.LLVMAddGlobal(cx.llmod, val_ty(val),
19671967
_str.buf("tag"));

0 commit comments

Comments
 (0)