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 | 1eb7a9cc529c07b6dba2a2c205ef3a9b055e1b15 (patch) | |
| tree | f2d8e82324f62acca48f90c0535719daafc22c17 /lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h | |
| parent | a0ed803d12a5a2e1fc25c7da388b1b67072cfa77 (diff) | |
| download | external_llvm-1eb7a9cc529c07b6dba2a2c205ef3a9b055e1b15.zip external_llvm-1eb7a9cc529c07b6dba2a2c205ef3a9b055e1b15.tar.gz external_llvm-1eb7a9cc529c07b6dba2a2c205ef3a9b055e1b15.tar.bz2 | |
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/FunctionLoweringInfo.h')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h index 9e972dc..dfbcef9 100644 --- a/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h +++ b/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h @@ -48,7 +48,7 @@ class Value; class FunctionLoweringInfo { public: TargetLowering &TLI; - Function *Fn; + const Function *Fn; MachineFunction *MF; MachineRegisterInfo *RegInfo; @@ -93,7 +93,7 @@ public: /// set - Initialize this FunctionLoweringInfo with the given Function /// and its associated MachineFunction. /// - void set(Function &Fn, MachineFunction &MF, bool EnableFastISel); + void set(const Function &Fn, MachineFunction &MF, bool EnableFastISel); /// clear - Clear out all the function-specific state. This returns this /// FunctionLoweringInfo to an empty state, ready to be used for a |
