diff options
author | Dan Gohman <gohman@apple.com> | 2009-01-15 16:58:17 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-01-15 16:58:17 +0000 |
commit | e9530ecae4897fe8157bd4d7616043bd8c0484e2 (patch) | |
tree | 3001c878835f6f2c17fae20fcac7bf27388a29db /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 0d137d7f35fba98f668098b3badf644efacf0e08 (diff) |
More consts on TargetLowering references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 34f33b0bcc..b83d537e37 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4982,7 +4982,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { return "<<Unknown Machine Node>>"; } if (G) { - TargetLowering &TLI = G->getTargetLoweringInfo(); + const TargetLowering &TLI = G->getTargetLoweringInfo(); const char *Name = TLI.getTargetNodeName(getOpcode()); if (Name) return Name; return "<<Unknown Target Node>>"; |