summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGISel.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-21 01:34:56 +0000
committerDan Gohman <gohman@apple.com>2010-04-21 01:34:56 +0000
commitf0757b0edc1ef3d1998485d3f74cadaa3f7180a0 (patch)
tree0033a00ee9950286fde22d96e7572f00e76349f2 /include/llvm/CodeGen/SelectionDAGISel.h
parentaf5097537c4599096d3f4b98a9fcff07c622d7f2 (diff)
downloadllvm-f0757b0edc1ef3d1998485d3f74cadaa3f7180a0.tar.gz
llvm-f0757b0edc1ef3d1998485d3f74cadaa3f7180a0.tar.bz2
llvm-f0757b0edc1ef3d1998485d3f74cadaa3f7180a0.tar.xz
Add more const qualifiers on TargetMachine and friends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGISel.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index a6d383c3ab..b2688bba8b 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -51,7 +51,7 @@ public:
CodeGenOpt::Level OptLevel;
static char ID;
- explicit SelectionDAGISel(TargetMachine &tm,
+ explicit SelectionDAGISel(const TargetMachine &tm,
CodeGenOpt::Level OL = CodeGenOpt::Default);
virtual ~SelectionDAGISel();