@@ -1266,7 +1266,7 @@ impl Expr {
12661266 ExprKind :: Break ( ..) => ExprPrecedence :: Break ,
12671267 ExprKind :: Continue ( ..) => ExprPrecedence :: Continue ,
12681268 ExprKind :: Ret ( ..) => ExprPrecedence :: Ret ,
1269- ExprKind :: InlineAsm ( ..) | ExprKind :: LlvmInlineAsm ( .. ) => ExprPrecedence :: InlineAsm ,
1269+ ExprKind :: InlineAsm ( ..) => ExprPrecedence :: InlineAsm ,
12701270 ExprKind :: MacCall ( ..) => ExprPrecedence :: Mac ,
12711271 ExprKind :: Struct ( ..) => ExprPrecedence :: Struct ,
12721272 ExprKind :: Repeat ( ..) => ExprPrecedence :: Repeat ,
@@ -1423,8 +1423,6 @@ pub enum ExprKind {
14231423
14241424 /// Output of the `asm!()` macro.
14251425 InlineAsm ( P < InlineAsm > ) ,
1426- /// Output of the `llvm_asm!()` macro.
1427- LlvmInlineAsm ( P < LlvmInlineAsm > ) ,
14281426
14291427 /// A macro invocation; pre-expansion.
14301428 MacCall ( MacCall ) ,
@@ -2076,41 +2074,6 @@ pub struct InlineAsm {
20762074 pub line_spans : Vec < Span > ,
20772075}
20782076
2079- /// Inline assembly dialect.
2080- ///
2081- /// E.g., `"intel"` as in `llvm_asm!("mov eax, 2" : "={eax}"(result) : : : "intel")`.
2082- #[ derive( Clone , PartialEq , Encodable , Decodable , Debug , Copy , Hash , HashStable_Generic ) ]
2083- pub enum LlvmAsmDialect {
2084- Att ,
2085- Intel ,
2086- }
2087-
2088- /// LLVM-style inline assembly.
2089- ///
2090- /// E.g., `"={eax}"(result)` as in `llvm_asm!("mov eax, 2" : "={eax}"(result) : : : "intel")`.
2091- #[ derive( Clone , Encodable , Decodable , Debug ) ]
2092- pub struct LlvmInlineAsmOutput {
2093- pub constraint : Symbol ,
2094- pub expr : P < Expr > ,
2095- pub is_rw : bool ,
2096- pub is_indirect : bool ,
2097- }
2098-
2099- /// LLVM-style inline assembly.
2100- ///
2101- /// E.g., `llvm_asm!("NOP");`.
2102- #[ derive( Clone , Encodable , Decodable , Debug ) ]
2103- pub struct LlvmInlineAsm {
2104- pub asm : Symbol ,
2105- pub asm_str_style : StrStyle ,
2106- pub outputs : Vec < LlvmInlineAsmOutput > ,
2107- pub inputs : Vec < ( Symbol , P < Expr > ) > ,
2108- pub clobbers : Vec < Symbol > ,
2109- pub volatile : bool ,
2110- pub alignstack : bool ,
2111- pub dialect : LlvmAsmDialect ,
2112- }
2113-
21142077/// A parameter in a function header.
21152078///
21162079/// E.g., `bar: usize` as in `fn foo(bar: usize)`.
0 commit comments