projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2478962
)
fix logic in DEBUG.
author
Chris Lattner
<sabre@nondot.org>
Sat, 27 Feb 2010 08:13:23 +0000
(08:13 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 27 Feb 2010 08:13:23 +0000
(08:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97315
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/DAGISelMatcherOpt.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/DAGISelMatcherOpt.cpp
b/utils/TableGen/DAGISelMatcherOpt.cpp
index d475dad49655df276556633d7909ed3042535ad6..7e517ea9fffeeecff31ecf32cf0196875a0fd18e 100644
(file)
--- a/
utils/TableGen/DAGISelMatcherOpt.cpp
+++ b/
utils/TableGen/DAGISelMatcherOpt.cpp
@@
-206,9
+206,9
@@
static void FactorNodes(OwningPtr<Matcher> &MatcherPtr) {
Optn->print(errs(), 4);
errs() << "into this:\n";
OptionsToMatch[Scan]->print(errs(), 4);
- if (
OptionIdx
+1 != e)
+ if (
Scan
+1 != e)
OptionsToMatch[Scan+1]->printOne(errs());
- if (
OptionIdx
+2 < e)
+ if (
Scan
+2 < e)
OptionsToMatch[Scan+2]->printOne(errs());
errs() << "\n");
}