rustc: Remove a bitcast. Issue

This commit is contained in:
Brian Anderson 2012-04-24 14:00:43 -07:00
parent 31853f31bf
commit 5437a045fc

View File

@ -223,7 +223,7 @@ fn trans_native_call(cx: block, externs: hashmap<str, ValueRef>,
get_simple_extern_fn(cx, externs, llmod, name, n);
let mut call_args: [ValueRef] = [];
for vec::each(args) {|a|
call_args += [ZExtOrBitCast(cx, a, cx.ccx().int_type)];
call_args += [a];
}
ret Call(cx, llnative, call_args);
}