[llvm-commits] [llvm] r153457 - /llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp
Chris Lattner
sabre at nondot.org
Mon Mar 26 12:11:51 PDT 2012
Author: lattner
Date: Mon Mar 26 14:11:51 2012
New Revision: 153457
URL: http://llvm.org/viewvc/llvm-project?rev=153457&view=rev
Log:
fix a failure path to print the right thing, part of PR12357
Modified:
llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp
Modified: llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp?rev=153457&r1=153456&r2=153457&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp (original)
+++ llvm/trunk/utils/TableGen/DAGISelMatcherGen.cpp Mon Mar 26 14:11:51 2012
@@ -217,7 +217,7 @@
DefInit *DI = dynamic_cast<DefInit*>(N->getLeafValue());
if (DI == 0) {
- errs() << "Unknown leaf kind: " << *DI << "\n";
+ errs() << "Unknown leaf kind: " << *N << "\n";
abort();
}
More information about the llvm-commits
mailing list