diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-11-04 16:27:11 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2020-11-12 22:00:48 +0300 |
| commit | 2879ab793e10a1bf5c158e3301474be96192aa7a (patch) | |
| tree | 8142740f743ca91554a3799ecd98f36fad8a00ef /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 9722952f0bed5815cb22cb4878be09fb39f92804 (diff) | |
| download | rust-2879ab793e10a1bf5c158e3301474be96192aa7a.tar.gz rust-2879ab793e10a1bf5c158e3301474be96192aa7a.zip | |
rustc_parse: Remove optimization for 0-length streams in `collect_tokens`
The optimization conflates empty token streams with unknown token stream, which is at least suspicious, and doesn't affect performance because 0-length token streams are very rare.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
