aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-09-14 10:23:46 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2022-09-14 10:27:51 +0200
commitd4da06f721577d3eaf2e21d6c6735d32a69d6ac7 (patch)
treeaeb66d7f6e8c1d182e150ca8e5356a5fb5f144ae /gcc/rust/backend/rust-compile-expr.h
parentf252b4093666cf1e3d948b22f00fc12bf283a83f (diff)
downloadgcc-d4da06f721577d3eaf2e21d6c6735d32a69d6ac7.zip
gcc-d4da06f721577d3eaf2e21d6c6735d32a69d6ac7.tar.gz
gcc-d4da06f721577d3eaf2e21d6c6735d32a69d6ac7.tar.bz2
module lowering: Do not append null pointers as items
Some module items do not need to get lowered to HIR such as `macro_rules!` definitions. Hence, module lowering should act the same as crate lowering: Only emplace back the lowered item if it is a valid pointer
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions