aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-09-17 10:04:49 +0100
committerPhilip Herron <philip.herron@embecosm.com>2022-09-17 10:04:49 +0100
commit53f4a8601c1db2068390dce7012c16b383864740 (patch)
treeb4f044f15ae1e0bd12876ab8106a0823b89456b3 /gcc/rust/backend/rust-compile-expr.h
parentf252b4093666cf1e3d948b22f00fc12bf283a83f (diff)
downloadgcc-53f4a8601c1db2068390dce7012c16b383864740.zip
gcc-53f4a8601c1db2068390dce7012c16b383864740.tar.gz
gcc-53f4a8601c1db2068390dce7012c16b383864740.tar.bz2
Static Items must be const evaluated
Statics like constants need to have a singular value they are not functions to be lazy evaluated. So to evaluate a block expr we can just reuse our const code to resolve this to a singular value.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.h')
0 files changed, 0 insertions, 0 deletions