diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-15 04:33:49 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-15 04:33:49 +0000 |
| commit | 913c998703231667cdd2befac755e19f9b6f1816 (patch) | |
| tree | 6d5533a5a4e0fad350c564cbaa47e812f5f7cd5c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | 60bbb8c356cb86507e15aef1132e93acecf66a05 (diff) | |
| download | bcm5719-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.cpp | 2 |
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(); |

