diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2024-10-10 21:24:50 -0400 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-10-13 23:50:45 +0000 |
commit | 583eb22ce186fc5acbb330e9553af40257951cef (patch) | |
tree | 80403dd749d0f4d46243009096ac84cdbf090e72 /gcc/gimple-loop-jam.cc | |
parent | 3bff5cf047e452c479d60ca0daff05056d7bf11a (diff) | |
download | gcc-583eb22ce186fc5acbb330e9553af40257951cef.zip gcc-583eb22ce186fc5acbb330e9553af40257951cef.tar.gz gcc-583eb22ce186fc5acbb330e9553af40257951cef.tar.bz2 |
Rework InlineAsmOperand
Not thrilled with some of this boilerplate, but it does seem like an
improvement.
gcc/rust/ChangeLog:
* ast/rust-expr.h
(InlineAsmOperand): Replace multiple mutually-exclusive tl::optional
fields with a std::unique_ptr and modify nested classes to allow
this. Also, make getters return references where possible.
* expand/rust-macro-builtins-asm.cc
(parse_reg_operand_out): Pass location when constructing
InlineAsmOperand.
Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/gimple-loop-jam.cc')
0 files changed, 0 insertions, 0 deletions