[llvm-commits] [llvm] r97315 - /llvm/trunk/utils/TableGen/DAGISelMatcherOpt.cpp
Chris Lattner
sabre at nondot.org
Sat Feb 27 00:13:23 PST 2010
Author: lattner
Date: Sat Feb 27 02:13:23 2010
New Revision: 97315
URL: http://llvm.org/viewvc/llvm-project?rev=97315&view=rev
Log:
fix logic in DEBUG.
Modified:
llvm/trunk/utils/TableGen/DAGISelMatcherOpt.cpp
Modified: llvm/trunk/utils/TableGen/DAGISelMatcherOpt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/DAGISelMatcherOpt.cpp?rev=97315&r1=97314&r2=97315&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/DAGISelMatcherOpt.cpp (original)
+++ llvm/trunk/utils/TableGen/DAGISelMatcherOpt.cpp Sat Feb 27 02:13:23 2010
@@ -206,9 +206,9 @@
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");
}
More information about the llvm-commits
mailing list