diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-09 18:18:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-09 18:18:49 +0000 |
commit | 28a4c786219861534a0ad321a3a31d2465d769d9 (patch) | |
tree | 3b6f1d3bb389a856dfdc1314e3afb7848da887b9 /include/llvm/CodeGen/MachineFunctionAnalysis.h | |
parent | 1edb8e0910db4cda46a81a4abad80a2a755442aa (diff) |
Constify MachineFunctionAnalysis' TargetMachine reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunctionAnalysis.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunctionAnalysis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineFunctionAnalysis.h b/include/llvm/CodeGen/MachineFunctionAnalysis.h index d020a7b4c7..aa4cc9176b 100644 --- a/include/llvm/CodeGen/MachineFunctionAnalysis.h +++ b/include/llvm/CodeGen/MachineFunctionAnalysis.h @@ -31,7 +31,7 @@ private: public: static char ID; - explicit MachineFunctionAnalysis(TargetMachine &tm, + explicit MachineFunctionAnalysis(const TargetMachine &tm, CodeGenOpt::Level OL = CodeGenOpt::Default); ~MachineFunctionAnalysis(); |