aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-15 16:29:45 +0000
committerDan Gohman <gohman@apple.com>2009-01-15 16:29:45 +0000
commit73e0914848662404cf2aa18eb049ff5aae543388 (patch)
treef06fcbcd345c4200e31a4c7a095096c0898cd4c4 /include/llvm
parentcfb1ae87c676b9d2f4b7c86506c99ab314300ec0 (diff)
downloadexternal_llvm-73e0914848662404cf2aa18eb049ff5aae543388.zip
external_llvm-73e0914848662404cf2aa18eb049ff5aae543388.tar.gz
external_llvm-73e0914848662404cf2aa18eb049ff5aae543388.tar.bz2
Const-qualify getPreIndexedAddressParts and friends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Target/TargetLowering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index dc7c6ee..4808cd4 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -676,7 +676,7 @@ public:
virtual bool getPreIndexedAddressParts(SDNode *N, SDValue &Base,
SDValue &Offset,
ISD::MemIndexedMode &AM,
- SelectionDAG &DAG) {
+ SelectionDAG &DAG) const {
return false;
}
@@ -686,7 +686,7 @@ public:
virtual bool getPostIndexedAddressParts(SDNode *N, SDNode *Op,
SDValue &Base, SDValue &Offset,
ISD::MemIndexedMode &AM,
- SelectionDAG &DAG) {
+ SelectionDAG &DAG) const {
return false;
}