diff options
author | Dan Gohman <gohman@apple.com> | 2010-07-20 20:18:21 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-07-20 20:18:21 +0000 |
commit | a09e67af330d11f32c40f04b06c899746fc396ee (patch) | |
tree | 82a14a6ccfa316dfb3b2b4a4d9b6694a51849c83 /lib/VMCore/Metadata.cpp | |
parent | 8238f02650153ace70c084b4303cad11ec1df6e0 (diff) | |
download | llvm-a09e67af330d11f32c40f04b06c899746fc396ee.tar.gz llvm-a09e67af330d11f32c40f04b06c899746fc396ee.tar.bz2 llvm-a09e67af330d11f32c40f04b06c899746fc396ee.tar.xz |
Remove setDbgMetadata and getDbgMetadata; their users have been
replaced with setDebugLoc and getDebugLoc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Metadata.cpp')
-rw-r--r-- | lib/VMCore/Metadata.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/VMCore/Metadata.cpp b/lib/VMCore/Metadata.cpp index 3100d4ac7c..22e758763d 100644 --- a/lib/VMCore/Metadata.cpp +++ b/lib/VMCore/Metadata.cpp @@ -445,10 +445,6 @@ MDNode *Instruction::getMetadataImpl(const char *Kind) const { return getMetadataImpl(getContext().getMDKindID(Kind)); } -void Instruction::setDbgMetadata(MDNode *Node) { - DbgLoc = DebugLoc::getFromDILocation(Node); -} - /// setMetadata - Set the metadata of of the specified kind to the specified /// node. This updates/replaces metadata if already present, or removes it if /// Node is null. |