aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-03-18 05:04:04 +0000
committerPete Cooper <peter_cooper@apple.com>2016-03-18 05:04:04 +0000
commit64d075ec07aafab44dd7da884c5434a22dfe728d (patch)
treef3d75cf7543c12df5b62c6045ba94994ac00f70d /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent631ed04af04d349eb4886e17ddc688e496eac8cc (diff)
downloadllvm-64d075ec07aafab44dd7da884c5434a22dfe728d.zip
llvm-64d075ec07aafab44dd7da884c5434a22dfe728d.tar.gz
llvm-64d075ec07aafab44dd7da884c5434a22dfe728d.tar.bz2
Always cache resolved paths as it even saves on StringMap lookups.
Now that the resolved path cache stores the StringRef's, its best to just always cache the results, even when realpath isn't used. This way we'll still avoid the StringMap hashing and lookup. This also conveniently reorganises this code in a way I need for a future patch. llvm-svn: 263777
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions