aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-03-26 19:11:51 +0000
committerChris Lattner <sabre@nondot.org>2012-03-26 19:11:51 +0000
commitef18cd381cb8513a53baba2b0062159323b13056 (patch)
tree90b5d6a2ea008597f94e67873f6087e4fba3995c /utils
parent7d8eb711e4608dcca9366141be22941af8d1eff8 (diff)
downloadexternal_llvm-ef18cd381cb8513a53baba2b0062159323b13056.zip
external_llvm-ef18cd381cb8513a53baba2b0062159323b13056.tar.gz
external_llvm-ef18cd381cb8513a53baba2b0062159323b13056.tar.bz2
fix a failure path to print the right thing, part of PR12357
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/DAGISelMatcherGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/DAGISelMatcherGen.cpp b/utils/TableGen/DAGISelMatcherGen.cpp
index 49ad956..2ac7b87 100644
--- a/utils/TableGen/DAGISelMatcherGen.cpp
+++ b/utils/TableGen/DAGISelMatcherGen.cpp
@@ -217,7 +217,7 @@ void MatcherGen::EmitLeafMatchCode(const TreePatternNode *N) {
DefInit *DI = dynamic_cast<DefInit*>(N->getLeafValue());
if (DI == 0) {
- errs() << "Unknown leaf kind: " << *DI << "\n";
+ errs() << "Unknown leaf kind: " << *N << "\n";
abort();
}