summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-20 20:18:21 +0000
committerDan Gohman <gohman@apple.com>2010-07-20 20:18:21 +0000
commita09e67af330d11f32c40f04b06c899746fc396ee (patch)
tree82a14a6ccfa316dfb3b2b4a4d9b6694a51849c83 /include
parent8238f02650153ace70c084b4303cad11ec1df6e0 (diff)
downloadllvm-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 'include')
-rw-r--r--include/llvm/Instruction.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 0b772b0aae..45959ccc6e 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -170,16 +170,6 @@ public:
void setMetadata(unsigned KindID, MDNode *Node);
void setMetadata(const char *Kind, MDNode *Node);
- /// setDbgMetadata - This is just an optimized helper function that is
- /// equivalent to setMetadata("dbg", Node);
- void setDbgMetadata(MDNode *Node);
-
- /// getDbgMetadata - This is just an optimized helper function that is
- /// equivalent to calling getMetadata("dbg").
- MDNode *getDbgMetadata() const {
- return DbgLoc.getAsMDNode(getContext());
- }
-
/// setDebugLoc - Set the debug location information for this instruction.
void setDebugLoc(const DebugLoc &Loc) { DbgLoc = Loc; }