Tidy.
This commit is contained in:
parent
e182ac4bbd
commit
3d56936be3
@ -604,7 +604,7 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
|
||||
mode: ast::expl(ast::by_val),
|
||||
ty: expr_ty(bcx, in)
|
||||
};
|
||||
|
||||
|
||||
unpack_result!(bcx, {
|
||||
callee::trans_arg_expr(bcx, inty, in, &mut cleanups,
|
||||
None, callee::DontAutorefArg)
|
||||
@ -647,7 +647,8 @@ fn trans_rvalue_stmt_unadjusted(bcx: block, expr: @ast::expr) -> block {
|
||||
};
|
||||
|
||||
if outputs.len() == 1 {
|
||||
let op = PointerCast(bcx, aoutputs[0], T_ptr(val_ty(outputs[0])));
|
||||
let op = PointerCast(bcx, aoutputs[0],
|
||||
T_ptr(val_ty(outputs[0])));
|
||||
Store(bcx, r, op);
|
||||
} else {
|
||||
for aoutputs.eachi |i, o| {
|
||||
|
@ -163,7 +163,7 @@ pub fn expand_asm(cx: @ext_ctxt, sp: span, tts: &[ast::token_tree])
|
||||
MRExpr(@ast::expr {
|
||||
id: cx.next_id(),
|
||||
callee_id: cx.next_id(),
|
||||
node: ast::expr_inline_asm(@asm, inputs, outputs,
|
||||
node: ast::expr_inline_asm(@asm, inputs, outputs,
|
||||
@cons, volatile, alignstack),
|
||||
span: sp
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user