diff options
author | Chris Lattner <sabre@nondot.org> | 2012-03-26 19:11:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-03-26 19:11:51 +0000 |
commit | 9e4e3352817b78aa056447254637adfb5c192b73 (patch) | |
tree | 2d1188f19bf128d76fb7ce56297cc90dbc40d5fe /llvm/utils/TableGen/DAGISelMatcherGen.cpp | |
parent | 2b40fdf3ae7dd74fe581911c66f035fe8f2cf78e (diff) | |
download | bcm5719-llvm-9e4e3352817b78aa056447254637adfb5c192b73.tar.gz bcm5719-llvm-9e4e3352817b78aa056447254637adfb5c192b73.zip |
fix a failure path to print the right thing, part of PR12357
llvm-svn: 153457
Diffstat (limited to 'llvm/utils/TableGen/DAGISelMatcherGen.cpp')
-rw-r--r-- | llvm/utils/TableGen/DAGISelMatcherGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/DAGISelMatcherGen.cpp b/llvm/utils/TableGen/DAGISelMatcherGen.cpp index 49ad956f886..2ac7b87e701 100644 --- a/llvm/utils/TableGen/DAGISelMatcherGen.cpp +++ b/llvm/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(); } |