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 | ae541aad5c36cb3e4256514447d1f81e253079c7 (patch) | |
tree | f2d8e82324f62acca48f90c0535719daafc22c17 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | dc7d6c9ddc1d1527a06f61b5da806781ff047709 (diff) |
Add more const qualifiers for LLVM IR pointers in CodeGen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7618166af6..d320b658f6 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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(); |