aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenDAGPatterns.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-14 22:33:49 +0000
committerChris Lattner <sabre@nondot.org>2010-02-14 22:33:49 +0000
commit751d5aa1eadf041f00acf76f3b641549c8be3998 (patch)
tree776da1a35bd2cd4eeb9e017aff3d8e8db815afee /utils/TableGen/CodeGenDAGPatterns.h
parent47661320363a8bf0bb1401a8c1893755fb77c8f6 (diff)
constize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.h')
-rw-r--r--utils/TableGen/CodeGenDAGPatterns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h
index 887220e54e..5eef9e1ddc 100644
--- a/utils/TableGen/CodeGenDAGPatterns.h
+++ b/utils/TableGen/CodeGenDAGPatterns.h
@@ -243,11 +243,11 @@ public:
getComplexPatternInfo(const CodeGenDAGPatterns &CGP) const;
/// NodeHasProperty - Return true if this node has the specified property.
- bool NodeHasProperty(SDNP Property, CodeGenDAGPatterns &CGP) const;
+ bool NodeHasProperty(SDNP Property, const CodeGenDAGPatterns &CGP) const;
/// TreeHasProperty - Return true if any node in this tree has the specified
/// property.
- bool TreeHasProperty(SDNP Property, CodeGenDAGPatterns &CGP) const;
+ bool TreeHasProperty(SDNP Property, const CodeGenDAGPatterns &CGP) const;
/// isCommutativeIntrinsic - Return true if the node is an intrinsic which is
/// marked isCommutative.