diff options
| author | Wei Liu <liuw@liuw.name> | 2022-06-18 17:19:24 +0000 |
|---|---|---|
| committer | Wei Liu <liuw@liuw.name> | 2022-06-20 10:05:04 +0000 |
| commit | c5f4880e9153d07cd95fa53221a0d976934cb938 (patch) | |
| tree | f285a9016793bdabc7a1f1d42705fc3bbe6d0a58 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 2cec6874c086a8fa107115dcca73d93228a3bef6 (diff) | |
| download | rust-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
