rustc: Remove a bitcast. Issue #2276
This commit is contained in:
parent
31853f31bf
commit
5437a045fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue