mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Add an assertion if find_leader fails.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c81450a0c
commit
5fd507d431
@ -695,6 +695,7 @@ Value* GVNPRE::find_leader(ValueNumberedSet& vals, uint32_t v) {
|
||||
if (v == VN.lookup(*I))
|
||||
return *I;
|
||||
|
||||
assert(0 && "No leader found, but present bit is set?");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user