diff options
author | Chris Lattner <sabre@nondot.org> | 2006-02-13 23:06:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-02-13 23:06:39 +0000 |
commit | c70cc35ddfe2b938846c3029a7b634c7f8c47978 (patch) | |
tree | b3d3576b02c547cf23a578f81e20bd8531d1c7be | |
parent | f345fe4d9a48f91cb9b2d396234b928536f5fe00 (diff) |
Fix typo that caused build failures for things trying to use m_Or.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26153 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/PatternMatch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/PatternMatch.h b/include/llvm/Support/PatternMatch.h index 9a225dfeab..d15ae9c498 100644 --- a/include/llvm/Support/PatternMatch.h +++ b/include/llvm/Support/PatternMatch.h @@ -130,8 +130,8 @@ inline BinaryOp_match<LHS, RHS, Instruction::And> m_And(const LHS &L, } template<typename LHS, typename RHS> -inline BinaryOp_match<LHS, RHS, Instruction::Rem> m_Or(const LHS &L, - const RHS &R) { +inline BinaryOp_match<LHS, RHS, Instruction::Or> m_Or(const LHS &L, + const RHS &R) { return BinaryOp_match<LHS, RHS, Instruction::Or>(L, R); } |