summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-15 04:33:49 +0000
committerDan Gohman <gohman@apple.com>2010-04-15 04:33:49 +0000
commit913c998703231667cdd2befac755e19f9b6f1816 (patch)
tree6d5533a5a4e0fad350c564cbaa47e812f5f7cd5c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent60bbb8c356cb86507e15aef1132e93acecf66a05 (diff)
downloadbcm5719-llvm-913c998703231667cdd2befac755e19f9b6f1816.tar.gz
bcm5719-llvm-913c998703231667cdd2befac755e19f9b6f1816.zip
Add more const qualifiers for LLVM IR pointers in CodeGen.
llvm-svn: 101342
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 7618166af6a..d320b658f6c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -195,7 +195,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) {
assert((!EnableFastISelAbort || EnableFastISel) &&
"-fast-isel-abort requires -fast-isel");
- Function &Fn = *mf.getFunction();
+ const Function &Fn = *mf.getFunction();
const TargetInstrInfo &TII = *TM.getInstrInfo();
const TargetRegisterInfo &TRI = *TM.getRegisterInfo();
OpenPOWER on IntegriCloud