| commit | 289e241d775565b450286a682d7e8a1a1b625f61 | [log] [tgz] |
|---|---|---|
| author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 16 03:30:10 2013 +0000 |
| committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Jul 16 03:30:10 2013 +0000 |
| tree | e640b83af0c6f532f9fd7f98ec2e14e5c7a2ea74 | |
| parent | 20a91bfd362bf119a1bbaf27d19518328c5e3e90 [diff] |
Remember that we have a null terminated string. This is a micro optimization. Instead of going char*->StringRef->Twine->char*, go char*->Twine->char* and avoid having to copy the filename on the stack. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186380 91177308-0d34-0410-b5e6-96231b3b80d8