diff options
author | Kushal Pal <kushalpal109@gmail.com> | 2024-08-07 10:58:17 +0000 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-09 08:33:02 +0000 |
commit | 4050bf70e245e0bedcfa5198e7a1e6bd14db6b0f (patch) | |
tree | 02af72084004596ee3f81a8d323d43c8f7666237 /gcc/dump-context.h | |
parent | ffeb37619e17e54efdbe4032546a270ee4f04ee5 (diff) | |
download | gcc-4050bf70e245e0bedcfa5198e7a1e6bd14db6b0f.zip gcc-4050bf70e245e0bedcfa5198e7a1e6bd14db6b0f.tar.gz gcc-4050bf70e245e0bedcfa5198e7a1e6bd14db6b0f.tar.bz2 |
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/dump-context.h')
0 files changed, 0 insertions, 0 deletions