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 /include/llvm | |
parent | 8238f02650153ace70c084b4303cad11ec1df6e0 (diff) | |
download | external_llvm-a09e67af330d11f32c40f04b06c899746fc396ee.zip external_llvm-a09e67af330d11f32c40f04b06c899746fc396ee.tar.gz external_llvm-a09e67af330d11f32c40f04b06c899746fc396ee.tar.bz2 |
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/llvm')
-rw-r--r-- | include/llvm/Instruction.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 0b772b0..45959cc 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; } |