mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +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