summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineOperand.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2010-01-13 00:00:24 +0000
committerDale Johannesen <dalej@apple.com>2010-01-13 00:00:24 +0000
commit5f72a5ebc84a1935878b5b2d3166a505c520cdfc (patch)
treea408a1896dfac1301e5aea85056d1eeae4a226d4 /include/llvm/CodeGen/MachineOperand.h
parent994a2045704601932467e5a773a589d8d3aee6f1 (diff)
downloadllvm-5f72a5ebc84a1935878b5b2d3166a505c520cdfc.tar.gz
llvm-5f72a5ebc84a1935878b5b2d3166a505c520cdfc.tar.bz2
llvm-5f72a5ebc84a1935878b5b2d3166a505c520cdfc.tar.xz
Further progration of metadata operands. The
dumper doesn't really do what I want yet, but at least it doesn't crash now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineOperand.h')
-rw-r--r--include/llvm/CodeGen/MachineOperand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h
index 452c384b6a..907c25af7d 100644
--- a/include/llvm/CodeGen/MachineOperand.h
+++ b/include/llvm/CodeGen/MachineOperand.h
@@ -317,7 +317,7 @@ public:
return Contents.OffsetedInfo.Val.SymbolName;
}
- MDNode *getMetadata() const {
+ const MDNode *getMetadata() const {
assert(isMetadata() && "Wrong MachineOperand accessor");
return Contents.MD;
}