commit | a0c429eecdba4926d61591f84e73c8d473715e3a | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Jan 15 16:58:17 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Jan 15 16:58:17 2009 +0000 |
tree | 3001c878835f6f2c17fae20fcac7bf27388a29db | |
parent | 0275b138ada11dd70e02f6fc56829304ab7a0559 [diff] [blame] |
More consts on TargetLowering references. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62262 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 34f33b0..b83d537 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -4982,7 +4982,7 @@ 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>>";