gccrs: hir: Lower labelled block
commita66df6197e84b6817d20c494bee7242bbfab0369
authorJakub Dupak <dev@jakubdupak.com>
Mon, 16 Oct 2023 13:17:33 +0000 (16 15:17 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:09:20 +0000 (16 19:09 +0100)
tree6899716a2e0738ba47dea65a985ea00505f446e9
parent3b1d27f78720bf4cf3857f31a4d26226e2581fb1
gccrs: hir: Lower labelled block

gcc/rust/ChangeLog:

* hir/rust-ast-lower.cc (ASTLoweringBlock::visit): Call loop lowering and add it to constr.
* hir/tree/rust-hir-expr.h (class LoopLabel): Move before BlockExpr and add to BlockExpr.
gcc/rust/hir/rust-ast-lower.cc
gcc/rust/hir/tree/rust-hir-expr.h