summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7b9bf4)
raw | patch | inline | side by side (parent: b7b9bf4)
author | Adrian Prantl <aprantl@apple.com> | |
Thu, 10 Apr 2014 17:50:30 +0000 (17:50 +0000) | ||
committer | Adrian Prantl <aprantl@apple.com> | |
Thu, 10 Apr 2014 17:50:30 +0000 (17:50 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205974 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h | patch | blob | history |
index 9e815623a780172be3a051188e130919dc4fb832..cb85ca897871d9791c2641d529b04a96c0a300f8 100644 (file)
/// getDebugVariable() - Return the debug variable referenced by
/// this DBG_VALUE instruction.
- DIVariable getDebugVariable() const {
+ const MDNode *getDebugVariable() const {
assert(isDebugValue() && "not a DBG_VALUE");
- const MDNode *Var = getOperand(getNumOperands() - 1).getMetadata();
- return DIVariable(Var);
+ return getOperand(getNumOperands() - 1).getMetadata();
}
/// emitError - Emit an error referring to the source location of this