Actually pass inline asm operands around.

This commit is contained in:
Luqman Aden
2013-03-12 17:53:25 -07:00
committed by Luqman Aden
parent 471d2b1765
commit 6d078db952
10 changed files with 100 additions and 24 deletions

View File

@@ -601,8 +601,10 @@ pub enum expr_ {
expr_ret(Option<@expr>),
expr_log(log_level, @expr, @expr),
/* asm, clobbers + constraints, volatile, align stack */
expr_inline_asm(@~str, @~str, bool, bool),
expr_inline_asm(@~str, // asm
~[(@~str, @expr)], // inputs
~[(@~str, @expr)], // outputs
@~str, bool, bool), // clobbers, volatile, align stack
expr_mac(mac),