summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineFunctionAnalysis.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-09 18:18:49 +0000
committerDan Gohman <gohman@apple.com>2009-11-09 18:18:49 +0000
commit28a4c786219861534a0ad321a3a31d2465d769d9 (patch)
tree3b6f1d3bb389a856dfdc1314e3afb7848da887b9 /include/llvm/CodeGen/MachineFunctionAnalysis.h
parent1edb8e0910db4cda46a81a4abad80a2a755442aa (diff)
downloadllvm-28a4c786219861534a0ad321a3a31d2465d769d9.tar.gz
llvm-28a4c786219861534a0ad321a3a31d2465d769d9.tar.bz2
llvm-28a4c786219861534a0ad321a3a31d2465d769d9.tar.xz
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.h2
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();