about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-05-25 14:01:18 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-05-26 08:56:49 +1000
commit2b91c40c19e51b694ec113fd6991cf59959d4046 (patch)
treeb32895c88922e4f2e7216209de60f46aa07cc7ff /compiler/rustc_codegen_gcc
parent3e810c64d091112cf8ac51a533068632fad30a8d (diff)
downloadrust-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