From 91febd133067b8a592c6910b64587d743faa660a Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Jan 2009 16:58:17 +0000 Subject: More consts on TargetLowering references. llvm-svn: 62262 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 34f33b0bccc..b83d537e372 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4982,7 +4982,7 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { return "<>"; } if (G) { - TargetLowering &TLI = G->getTargetLoweringInfo(); + const TargetLowering &TLI = G->getTargetLoweringInfo(); const char *Name = TLI.getTargetNodeName(getOpcode()); if (Name) return Name; return "<>"; -- cgit v1.2.3