OSDN Git Service

Remove the IsVolatileSize parameter of getOpenFileSlice.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 7 Oct 2014 19:09:05 +0000 (19:09 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 7 Oct 2014 19:09:05 +0000 (19:09 +0000)
commitb3a0758832f24d1d264dfe29f2a4fb46a500beb6
tree69209fa9529bb5e9ddba2f73cdd6aa7ac4fd03fc
parent6477842ceebcab08b7ca07b7ea92a679161fd32f
Remove the IsVolatileSize parameter of getOpenFileSlice.

getOpenFileSlice gets passed the map size, so it makes no sense to say that
the size is volatile. The code will not even compute the size.

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