commit | 36c56d0353f1a9c4e878f509aff85a62e5087dd4 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Apr 15 01:51:59 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Apr 15 01:51:59 2010 +0000 |
tree | 77f85024abba153c97d6af9aa800ad53b20c4fd2 | |
parent | 8fa8772831dacecfa6102d7e799eb6eb1857629b [diff] [blame] |
Add const qualifiers to CodeGen's use of LLVM IR constructs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101334 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp index f88cfb0..77b5790 100644 --- a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp +++ b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
@@ -316,7 +316,7 @@ // Gather all the type infos for this landing pad and pass them along to // MachineModuleInfo. - std::vector<GlobalVariable *> TyInfo; + std::vector<const GlobalVariable *> TyInfo; unsigned N = I.getNumOperands(); for (unsigned i = N - 1; i > 2; --i) {