mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix obviously wrong call to getTarget() in ValidateReader::read() for LIR_jtbl (r=me)
--HG-- extra : convert_revision : 0a24446567224c42ee3f421627ea644976fea3de
This commit is contained in:
parent
e0fe64337d
commit
9c26cf7691
@ -3016,7 +3016,7 @@ namespace nanojit
|
||||
uint32_t tableSize = ins->getTableSize();
|
||||
NanoAssert(tableSize > 0);
|
||||
for (uint32_t i = 0; i < tableSize; i++) {
|
||||
LIns* target = ins->getTarget();
|
||||
LIns* target = ins->getTarget(i);
|
||||
NanoAssert(target);
|
||||
NanoAssert(target->isop(LIR_label));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user