diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-08-07 10:58:17 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-19 15:32:09 +0100 |
commit | 11b808ba788834072539a4aca6d64144243e5d46 (patch) | |
tree | 67f4ece3007642c3a7f8c2bb59c3d64ba16c430f /gcc/rust/resolve | |
parent | 03fd4851cd271ab08089db7d4da68bed30ed3fdd (diff) | |
download | gcc-11b808ba788834072539a4aca6d64144243e5d46.zip gcc-11b808ba788834072539a4aca6d64144243e5d46.tar.gz gcc-11b808ba788834072539a4aca6d64144243e5d46.tar.bz2 |
gccrs: Strong type BasicBlockId
gcc/rust/ChangeLog:
* checks/errors/borrowck/rust-bir-builder-expr-stmt.cc (ExprStmtBuilder::visit):
Use value of BasicBlockId as index.
* checks/errors/borrowck/rust-bir-builder-internal.h (struct BuilderContext):
Likewise.
* checks/errors/borrowck/rust-bir-builder-lazyboolexpr.h:
Initialize with ENTRY_BASIC_BLOCK.
* checks/errors/borrowck/rust-bir-dump.cc (simplify_cfg):
Use value of BasicBlockId as index.
(Dump::go): Likewise.
(Dump::visit): Likewise.
* checks/errors/borrowck/rust-bir-fact-collector.h (class FactCollector):
Initialize with ENTRY_BASIC_BLOCK.
(points): Use value of BasicBlockId as index.
* checks/errors/borrowck/rust-bir.h (struct BasicBlockId):
BasicBlockId is a struct now.
Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions