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/Target/MSP430/MSP430ISelDAGToDAG.cpp b/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp index 911cfcb..04538d1 100644 --- a/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp +++ b/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
@@ -45,9 +45,9 @@ } Base; int16_t Disp; - GlobalValue *GV; - Constant *CP; - BlockAddress *BlockAddr; + const GlobalValue *GV; + const Constant *CP; + const BlockAddress *BlockAddr; const char *ES; int JT; unsigned Align; // CP alignment.