Skip to content

Commit 2b0a306

Browse files
committed
---
yaml --- r: 4074 b: refs/heads/master c: 5cdb010 h: refs/heads/master v: v3
1 parent 62e7fa4 commit 2b0a306

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-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: 07732545d271e64f746a9f3e5eea0b231024e44d
2+
refs/heads/master: 5cdb010fae38917fbcacc973c471ddd72f8f5bfc

trunk/src/comp/lib/llvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,7 @@ fn float_width(TypeRef llt) -> uint {
15491549
2 { 64u }
15501550
3 { 80u }
15511551
4 | 5 { 128u }
1552-
_ { fail "llvm_float_width called on a non-float type"; 0u }
1552+
_ { fail "llvm_float_width called on a non-float type" }
15531553
};
15541554
}
15551555

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4465,8 +4465,7 @@ fn trans_cast(&@block_ctxt cx, &@ast::expr e, ast::node_id id) -> result {
44654465
e_res.bcx.build.PointerCast(e_res.val, ll_t_out)
44664466
}
44674467
_ {
4468-
ccx.sess.bug("Translating unsupported cast.");
4469-
C_nil() // FIXME the typechecker doesn't seem to understand _|_ here
4468+
ccx.sess.bug("Translating unsupported cast.")
44704469
}
44714470
};
44724471
ret rslt(e_res.bcx, newval);

0 commit comments

Comments
 (0)