]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Change how CompileVarDecl outputs Bvariable's
authorOwen Avery <powerboat9.gamer@gmail.com>
Wed, 11 Jan 2023 17:05:39 +0000 (12:05 -0500)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 6 Apr 2023 08:47:17 +0000 (10:47 +0200)
commit881ed7fb273c8898310a1475aa2162bbd1030ee0
tree9ea1af09c441331e1d994d39ca159a4c5a7ff2e9
parent86f8e47f9df3cb0adf9b6cd6e48d7c89e2556721
gccrs: Change how CompileVarDecl outputs Bvariable's

This allows patterns to declare multiple/no variables

gcc/rust/ChangeLog:

* backend/rust-compile-base.cc (HIRCompileBase::compile_locals_for_block):
Allow patterns to declare zero or multiple variables.
* backend/rust-compile-var-decl.h: Change function declaration.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/backend/rust-compile-base.cc
gcc/rust/backend/rust-compile-var-decl.h