diff options
| author | Martin Gammelsæter <martin@mg.am> | 2022-03-09 22:21:35 +0100 |
|---|---|---|
| committer | Martin Gammelsæter <martin@mg.am> | 2022-03-09 22:21:35 +0100 |
| commit | 7f4f4fc34c5f404042e200c26ffb0395278d2cea (patch) | |
| tree | 83e9afcf3d9683e2647ce52a267b0ae38e8488d9 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 876142417cd03ee0838d2fc83ddac83c06748ca6 (diff) | |
| download | rust-7f4f4fc34c5f404042e200c26ffb0395278d2cea.tar.gz rust-7f4f4fc34c5f404042e200c26ffb0395278d2cea.zip | |
Use indexing instead of .get_unchecked() for LUT lookup
Based on @paolobarbolini's tip that the unsafe block was unnecessary in this case. Not much left of `hexify()` after this, so seemed clearer to just inline it.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
