about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-06-07 23:55:27 +0200
committerGitHub <noreply@github.com>2022-06-07 23:55:27 +0200
commit796c466cea55221d354e6f02d8da18880ce933b0 (patch)
tree75b3bfe1b4e1d2e1146216b22624af48725b609b /compiler/rustc_codegen_gcc
parentc9cf8aeab8d5b68f183b27d46b8765a0026f544a (diff)
parent39de03d8446f839791ae223446d54b67564a3684 (diff)
downloadrust-796c466cea55221d354e6f02d8da18880ce933b0.tar.gz
rust-796c466cea55221d354e6f02d8da18880ce933b0.zip
Rollup merge of #97832 - tmiasko:const-direction, r=cjgillot
Change `Direction::{is_forward,is_backward}` functions into constants

Make it explicit that the analysis direction is constant.

This also makes the value immediately available for optimizations.
Previously those functions were neither inline nor generic and so their
definition was unavailable when using data flow framework from other
crates.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions