Remove #include of metadata.h from intrinsicinst.h. The only

method that needs it (DbgValueInst::getValue) has been moved out
of line.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-12-31 01:32:41 +00:00
parent 5d0cacdbb6
commit 183912af79
3 changed files with 13 additions and 4 deletions

View File

@@ -69,3 +69,11 @@ Value *DbgStopPointInst::getDirectory() const {
assert(LLVMDebugVersion == (7 << 16) && "Verify operand indices");
return getContext()->getOperand(4);
}
//===----------------------------------------------------------------------===//
/// DbgValueInst - This represents the llvm.dbg.value instruction.
///
Value *DbgValueInst::getValue() const {
return cast<MDNode>(getOperand(1))->getOperand(0);
}