diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2019-02-23 23:48:47 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2019-02-23 23:48:47 +0000 |
commit | e7b9464943e1a1c590c238008b4b30fd2a376b10 (patch) | |
tree | ae3c61a15341eea62d3c8b1b66eb3c86f1ff258c /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp | |
parent | dc185522fbdec75490cacfaa15966c4a2a7505d2 (diff) | |
download | llvm-e7b9464943e1a1c590c238008b4b30fd2a376b10.zip llvm-e7b9464943e1a1c590c238008b4b30fd2a376b10.tar.gz llvm-e7b9464943e1a1c590c238008b4b30fd2a376b10.tar.bz2 |
VFS: Avoid some unnecessary std::string copies
Thread Twine a little deeper through the VFS to avoid unnecessarily
constructing the same std::string twice in a parameter sequence:
Twine -> std::string -> StringRef -> std::string
Changing a few parameters from StringRef to Twine avoids the early call
to `Twine::str()`.
llvm-svn: 354739
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
0 files changed, 0 insertions, 0 deletions