File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -587,13 +587,13 @@ fn iter_structural_ty(@block_ctxt cx,
587
587
auto lldiscrim_ptr = cx. build . GEP ( v, vec ( C_int ( 0 ) , C_int ( 0 ) ) ) ;
588
588
auto llunion_ptr = cx. build . GEP ( v, vec ( C_int ( 0 ) , C_int ( 1 ) ) ) ;
589
589
auto lldiscrim = cx. build . Load ( lldiscrim_ptr) ;
590
-
590
+
591
591
auto unr_cx = new_sub_block_ctxt ( cx, "tag-iter-unr" ) ;
592
592
unr_cx. build . Unreachable ( ) ;
593
593
594
594
auto llswitch = cx. build . Switch ( lldiscrim, unr_cx. llbb ,
595
595
n_variants) ;
596
-
596
+
597
597
auto next_cx = new_sub_block_ctxt ( cx, "tag-iter-next" ) ;
598
598
599
599
auto i = 0 u;
@@ -1961,7 +1961,7 @@ fn trans_constant(&@crate_ctxt cx, @ast.item it) -> @crate_ctxt {
1961
1961
// Nullary tags become constants.
1962
1962
auto union_val = C_union ( union_ty, C_nil ( ) ) ;
1963
1963
auto val = C_struct ( vec ( C_int ( i as int ) , union_val) ) ;
1964
-
1964
+
1965
1965
// FIXME: better name
1966
1966
auto gvar = llvm. LLVMAddGlobal ( cx. llmod , val_ty ( val) ,
1967
1967
_str. buf ( "tag" ) ) ;
You can’t perform that action at this time.
0 commit comments