diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-11-24 15:15:40 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-11-24 15:15:40 +0000 |
commit | 4924160c275d8fafab2dbd4257fb7473fbac5ceb (patch) | |
tree | 1f4ab48341cf5625175a40576142d6f3a10119db /gcc/rust/resolve/rust-ast-verify-assignee.h | |
parent | 717b6da459b26ace9a3c303cfa5e485ff8935709 (diff) | |
download | gcc-4924160c275d8fafab2dbd4257fb7473fbac5ceb.zip gcc-4924160c275d8fafab2dbd4257fb7473fbac5ceb.tar.gz gcc-4924160c275d8fafab2dbd4257fb7473fbac5ceb.tar.bz2 |
Stop copying HIR::FunctionParams when during lowering
Some HIR::TypeNoBounds have a gcc_unreachable() unpon usage of their
respective copy constructors this change moves the instances of
FunctionParams to avoid the copy.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-verify-assignee.h')
0 files changed, 0 insertions, 0 deletions