diff options
| author | bors <bors@rust-lang.org> | 2019-06-12 16:30:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-06-12 16:30:05 +0000 |
| commit | 55cee44671ecb0869cc7fbac0ad62f6236893d06 (patch) | |
| tree | f8a3b98b4307ad8b6941b1120277ec10e796e625 /src/test/incremental/thinlto | |
| parent | 24ddd1615419be89828fb5628e3c14af86c08b01 (diff) | |
| parent | 35b5f4377028e34dc4df1ce67c225d2926c6c7a7 (diff) | |
| download | rust-55cee44671ecb0869cc7fbac0ad62f6236893d06.tar.gz rust-55cee44671ecb0869cc7fbac0ad62f6236893d06.zip | |
Auto merge of #61612 - nnethercote:improve-parse_bottom_expr, r=petrochenkov
Special-case literals in `parse_bottom_expr`. This makes parsing faster, particularly for code with large constants, for two reasons: - it skips all the keyword comparisons for literals; - it skips the allocation done by the `mk_expr` call in `parse_literal_maybe_minus`. r? @petrochenkov
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
