mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
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
This commit is contained in:
parent
7d8eb711e4
commit
ef18cd381c
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user