mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
Emit an error instead of an assertion if trying to do bogus things in result patterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07ac89f30a
commit
7893f13ad6
@ -2281,8 +2281,8 @@ public:
|
||||
return std::make_pair(1, ResNo);
|
||||
} else {
|
||||
N->dump();
|
||||
assert(0 && "Unknown node in result pattern!");
|
||||
return std::make_pair(1, ~0U);
|
||||
std::cerr << "\n";
|
||||
throw std::string("Unknown node in result pattern!");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user