OSDN Git Service

Inline isDereferenceableFromAttribute; NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 2 Jun 2016 00:52:53 +0000 (00:52 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Thu, 2 Jun 2016 00:52:53 +0000 (00:52 +0000)
commitcfd3677995fd3c71106042d18cf0551107ec7703
tree18c7727506a6113bb33f002e7ecb565820affd47
parentca4fdcc42345b825dfb1120dde74b4afc031e1c4
Inline isDereferenceableFromAttribute; NFC

Now that `Value::getPointerDereferenceableBytes` looks beyond just
attributes, the name `isDereferenceableFromAttribute` is misleading.
Just inline the function, since it is small and only used once.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271456 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/Loads.cpp