aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-expr.h
diff options
context:
space:
mode:
authorjjasmine <tanghocle456@gmail.com>2024-05-24 15:18:45 -0700
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-17 16:35:41 +0100
commitec5104296ca807ff22832ab878a3cdaf1661549d (patch)
tree19560a3a6eb55a188709faf16adb600d0d89280d /gcc/rust/ast/rust-expr.h
parent3d99542a87038ff29e973edd4480c0870666af78 (diff)
downloadgcc-ec5104296ca807ff22832ab878a3cdaf1661549d.zip
gcc-ec5104296ca807ff22832ab878a3cdaf1661549d.tar.gz
gcc-ec5104296ca807ff22832ab878a3cdaf1661549d.tar.bz2
gccrs: Scaffolding parse_reg
gcc/rust/ChangeLog: * ast/rust-expr.h (struct InlineAsmRegOrRegClass): Scaffolding parse_reg * expand/rust-macro-builtins-asm.cc (parse_reg): Likewise. (parse_operand): Likewise. (parseAsmArg): Likewise.
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
-rw-r--r--gcc/rust/ast/rust-expr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-expr.h b/gcc/rust/ast/rust-expr.h
index 719a76c..3091740 100644
--- a/gcc/rust/ast/rust-expr.h
+++ b/gcc/rust/ast/rust-expr.h
@@ -4743,6 +4743,12 @@ struct InlineAsmRegOrRegClass
std::string Symbol;
};
+ Type type;
+ union
+ {
+ struct Reg reg;
+ struct RegClass regClass;
+ };
Identifier name;
location_t locus;
};