aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-10-22 21:44:01 -0400
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:35 +0100
commitda87ef4d692b348be41c082eabb37f21af73f392 (patch)
treeef6a74c39041b5191987608a3ba9a27faf9ad9be /gcc/rust/hir/tree
parent3a874d936b2fcbb1c77b146d8b1d651e52eb618f (diff)
downloadgcc-da87ef4d692b348be41c082eabb37f21af73f392.zip
gcc-da87ef4d692b348be41c082eabb37f21af73f392.tar.gz
gcc-da87ef4d692b348be41c082eabb37f21af73f392.tar.bz2
gccrs: Compile pattern match statements into conditional statements
gcc/rust/ChangeLog: * backend/rust-compile-expr.cc (patterns_mergeable): Remove. (struct PatternMerge): Remove. (sort_tuple_patterns): Remove. (simplify_tuple_match): Remove. (CompileExpr::visit): Modify compilation of MatchExpr. * backend/rust-compile-pattern.cc (CompilePatternCaseLabelExpr::visit): Replace with... (CompilePatternCheckExpr::visit): ...this. * backend/rust-compile-pattern.h (class CompilePatternCaseLabelExpr): Replace with... (class CompilePatternCheckExpr): ...this. * backend/rust-compile-type.cc (TyTyResolveCompile::get_implicit_enumeral_node_type): Make enumeral type equivalent to isize. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/hir/tree')
0 files changed, 0 insertions, 0 deletions