600,603c600,603
< if (recentDecodes[0].decodePage) {
< if (page_addr == recentDecodes[0].page_addr) {
< if (recentDecodes[0].decodePage->decoded(mach_inst, addr))
< return recentDecodes[0].decodePage->getInst(addr);
---
> if (recentDecodes[0].decodePage &&
> page_addr == recentDecodes[0].page_addr) {
> if (recentDecodes[0].decodePage->decoded(mach_inst, addr))
> return recentDecodes[0].decodePage->getInst(addr);
605,609c605,606
< return searchCache(mach_inst, addr, recentDecodes[0].decodePage);
< } else if (recentDecodes[1].decodePage &&
< page_addr == recentDecodes[1].page_addr) {
< if (recentDecodes[1].decodePage->decoded(mach_inst, addr))
< return recentDecodes[1].decodePage->getInst(addr);
---
> return searchCache(mach_inst, addr, recentDecodes[0].decodePage);
> }
611,612c608,613
< return searchCache(mach_inst, addr, recentDecodes[1].decodePage);
< }
---
> if (recentDecodes[1].decodePage &&
> page_addr == recentDecodes[1].page_addr) {
> if (recentDecodes[1].decodePage->decoded(mach_inst, addr))
> return recentDecodes[1].decodePage->getInst(addr);
>
> return searchCache(mach_inst, addr, recentDecodes[1].decodePage);