Skip to content

Commit 286aa1e

Browse files
committed
---
yaml --- r: 4787 b: refs/heads/master c: 49397b5 h: refs/heads/master i: 4785: bacfa63 4783: 91840de v: v3
1 parent e99000b commit 286aa1e

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
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: cc5fcfce89312042e52401eb883160ebf289235f
2+
refs/heads/master: 49397b5af6cf72487c404b6be27394720cc46cce

trunk/src/comp/middle/trans.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6904,10 +6904,6 @@ fn vi2p(cx: &@block_ctxt, v: ValueRef, t: TypeRef) -> ValueRef {
69046904

69056905
fn p2i(v: ValueRef) -> ValueRef { ret llvm::LLVMConstPtrToInt(v, T_int()); }
69066906

6907-
fn i2p(v: ValueRef, t: TypeRef) -> ValueRef {
6908-
ret llvm::LLVMConstIntToPtr(v, t);
6909-
}
6910-
69116907
fn declare_intrinsics(llmod: ModuleRef) -> hashmap<str, ValueRef> {
69126908
let T_memmove32_args: [TypeRef] =
69136909
~[T_ptr(T_i8()), T_ptr(T_i8()), T_i32(), T_i32(), T_i1()];

0 commit comments

Comments
 (0)