diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-05-25 14:01:18 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-05-26 08:56:49 +1000 |
| commit | 2b91c40c19e51b694ec113fd6991cf59959d4046 (patch) | |
| tree | b32895c88922e4f2e7216209de60f46aa07cc7ff /compiler/rustc_codegen_gcc | |
| parent | 3e810c64d091112cf8ac51a533068632fad30a8d (diff) | |
| download | rust-2b91c40c19e51b694ec113fd6991cf59959d4046.tar.gz rust-2b91c40c19e51b694ec113fd6991cf59959d4046.zip | |
Avoid adjusting file positions twice.
`imported_source_files` adjusts lots of file positions, and then calls `new_imported_source_file`, which then adjust them all again. This commit combines the two adjustments into one, for a small perf win.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
