diff options
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r-- | gcc/rust/ast/rust-expr.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h index 1af7296..76e5fa7 100644 --- a/gcc/rust/ast/rust-expr.h +++ b/gcc/rust/ast/rust-expr.h @@ -4744,11 +4744,9 @@ struct InlineAsmRegOrRegClass }; Type type; - union - { - struct Reg reg; - struct RegClass regClass; - }; + struct Reg reg; + struct RegClass regClass; + Identifier name; location_t locus; }; @@ -4802,6 +4800,15 @@ struct InlineAsmOperand { std::unique_ptr<Expr> sym; }; + RegisterType registerType; + + struct In in; + struct Out out; + struct InOut inOut; + struct SplitInOut splitInOut; + struct Const cnst; + struct Sym sym; + location_t locus; }; |