Don't compute the file size if we don't need to.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 10 Mar 2011 20:54:07 +0000 (20:54 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 10 Mar 2011 20:54:07 +0000 (20:54 +0000)
commit9d2234d6a0a5b2840427927ac971027aec0ddf63
tree1b675e9281594c3e3baaeba56b7248d577d367b6
parentfa0e6facc793d0a67e89f873e18cd35a9d7c02e0
Don't compute the file size if we don't need to.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127426 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/MemoryBuffer.cpp