Use the stat information in the Path object, if it is already obtained. This
authorReid Spencer <rspencer@reidspencer.com>
Thu, 29 Mar 2007 19:11:22 +0000 (19:11 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 29 Mar 2007 19:11:22 +0000 (19:11 +0000)
commit1ea733db9d7eb1e55785e9b2201638c37db56cad
tree0a4374c16d13d274a4f4ebbc3dc3180a1a24688d
parent8475ec068c213d0bf73f7686d82491a8f12e3b32
Use the stat information in the Path object, if it is already obtained. This
avoids a call to ::fstat by MappedFile when the file size information was
already obtained by the Path object.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35477 91177308-0d34-0410-b5e6-96231b3b80d8
lib/System/Unix/MappedFile.inc