diff options
| author | bors <bors@rust-lang.org> | 2020-11-14 04:21:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-11-14 04:21:56 +0000 |
| commit | 50d3c2a3cb96b6af2b5e3b9d08578a556ac70ede (patch) | |
| tree | de3dbe5ca3400808ddb1e44cb36afed9e83dca0c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b63d05a908ab667f37ea9fb66f4fab9dd89fce76 (diff) | |
| parent | 2879ab793e10a1bf5c158e3301474be96192aa7a (diff) | |
| download | rust-50d3c2a3cb96b6af2b5e3b9d08578a556ac70ede.tar.gz rust-50d3c2a3cb96b6af2b5e3b9d08578a556ac70ede.zip | |
Auto merge of #78736 - petrochenkov:lazyenum, r=Aaron1011
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. r? `@Aaron1011`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
