Use AnonConst for asm! constants
This commit is contained in:
parent
cbd6ec7604
commit
32be124e30
37 changed files with 281 additions and 242 deletions
|
@ -2149,10 +2149,10 @@ impl<'a> State<'a> {
|
|||
None => s.word("_"),
|
||||
}
|
||||
}
|
||||
InlineAsmOperand::Const { expr } => {
|
||||
InlineAsmOperand::Const { anon_const } => {
|
||||
s.word("const");
|
||||
s.space();
|
||||
s.print_expr(expr);
|
||||
s.print_expr(&anon_const.value);
|
||||
}
|
||||
InlineAsmOperand::Sym { expr } => {
|
||||
s.word("sym");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue