@@ -30,7 +30,7 @@ use back::{link, abi};
3030use driver:: session;
3131use driver:: session:: Session ;
3232use lib:: llvm:: { ContextRef , ModuleRef , ValueRef , BasicBlockRef } ;
33- use lib:: llvm:: { llvm, True , False } ;
33+ use lib:: llvm:: { llvm, True } ;
3434use lib;
3535use metadata:: common:: LinkMeta ;
3636use metadata:: { csearch, cstore, encoder} ;
@@ -1462,7 +1462,7 @@ pub fn zero_mem(cx: block, llptr: ValueRef, t: ty::t) {
14621462// allocation for large data structures, and the generated code will be
14631463// awful. (A telltale sign of this is large quantities of
14641464// `mov [byte ptr foo],0` in the generated code.)
1465- pub fn memzero( cx: block, llptr: ValueRef , llty : TypeRef ) {
1465+ pub fn memzero( cx: block, llptr: ValueRef , ty : Type ) {
14661466 let _icx = cx. insn_ctxt( "memzero" ) ;
14671467 let ccx = cx. ccx( ) ;
14681468
@@ -1493,7 +1493,7 @@ pub fn alloca(cx: block, ty: Type) -> ValueRef {
14931493 alloca_maybe_zeroed( cx, ty, false )
14941494}
14951495
1496- pub fn alloca_maybe_zeroed( cx: block, t : TypeRef , zero: bool) -> ValueRef {
1496+ pub fn alloca_maybe_zeroed( cx: block, ty : Type , zero: bool) -> ValueRef {
14971497 let _icx = cx. insn_ctxt( "alloca" ) ;
14981498 if cx. unreachable {
14991499 unsafe {
@@ -1506,7 +1506,7 @@ pub fn alloca_maybe_zeroed(cx: block, t: TypeRef, zero: bool) -> ValueRef {
15061506 p
15071507}
15081508
1509- pub fn arrayalloca( cx: block, t : TypeRef , v: ValueRef ) -> ValueRef {
1509+ pub fn arrayalloca( cx: block, ty : Type , v: ValueRef ) -> ValueRef {
15101510 let _icx = cx. insn_ctxt( "arrayalloca" ) ;
15111511 if cx. unreachable {
15121512 unsafe {
@@ -2885,8 +2885,7 @@ pub fn write_metadata(cx: &mut CrateContext, crate: &ast::crate) {
28852885
28862886// Writes the current ABI version into the crate.
28872887pub fn write_abi_version ( ccx : & mut CrateContext ) {
2888- mk_global ( ccx, "rust_abi_version" , C_uint ( ccx, abi:: abi_version) ,
2889- false ) ;
2888+ mk_global ( ccx, "rust_abi_version" , C_uint ( ccx, abi:: abi_version) , false ) ;
28902889}
28912890
28922891pub fn trans_crate ( sess : session:: Session ,
0 commit comments