commit | ae541aad5c36cb3e4256514447d1f81e253079c7 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Apr 15 04:33:49 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Apr 15 04:33:49 2010 +0000 |
tree | f2d8e82324f62acca48f90c0535719daafc22c17 | |
parent | dc7d6c9ddc1d1527a06f61b5da806781ff047709 [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7618166..d320b65 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -195,7 +195,7 @@ 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();