Fix EmulatePcodeCache::executeBranch

This commit is contained in:
Asad Mehmood 2023-04-24 21:51:58 +01:00 committed by GitHub
parent 7891d26115
commit f928ab1fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -413,6 +413,8 @@ void EmulatePcodeCache::executeBranch(void)
fallthruOp(); fallthruOp();
else if ((current_op < 0)||(current_op >= opcache.size())) else if ((current_op < 0)||(current_op >= opcache.size()))
throw LowlevelError("Bad intra-instruction branch"); throw LowlevelError("Bad intra-instruction branch");
else
establishOp();
} }
else else
setExecuteAddress(destaddr); setExecuteAddress(destaddr);