about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorWei Liu <liuw@liuw.name>2022-06-18 17:19:24 +0000
committerWei Liu <liuw@liuw.name>2022-06-20 10:05:04 +0000
commitc5f4880e9153d07cd95fa53221a0d976934cb938 (patch)
treef285a9016793bdabc7a1f1d42705fc3bbe6d0a58 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent2cec6874c086a8fa107115dcca73d93228a3bef6 (diff)
downloadrust-c5f4880e9153d07cd95fa53221a0d976934cb938.tar.gz
rust-c5f4880e9153d07cd95fa53221a0d976934cb938.zip
Drop magic value 3 from code
Magic value 3 is used to create state for a yield point. It is in fact
the number of reserved variants.

Lift RESERVED_VARIANTS out to module scope and use it instead.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions