Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunc...
authorVictor Hernandez <vhernandez@apple.com>
Wed, 20 Jan 2010 04:45:57 +0000 (04:45 +0000)
committerVictor Hernandez <vhernandez@apple.com>
Wed, 20 Jan 2010 04:45:57 +0000 (04:45 +0000)
commit8fffff537194e2375e65600f27d716c99f0eb38a
tree908c9602ae4988f3cd66579cb12cf59ee23e66f1
parent42aafd7e578707ca20dec456e8996849984272bb
Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunctionForValue()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93977 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
lib/VMCore/AsmWriter.cpp
lib/VMCore/Metadata.cpp