Fix for loop initial declaration errors
This commit is contained in:
parent
4eac8e30a8
commit
e554360dd3
1 changed files with 4 additions and 2 deletions
|
@ -2652,7 +2652,8 @@ u8 function_cc *block_lookup_address_dual(u32 pc)
|
||||||
|
|
||||||
u8 function_cc *block_lookup_address_arm(u32 pc)
|
u8 function_cc *block_lookup_address_arm(u32 pc)
|
||||||
{
|
{
|
||||||
for (unsigned i = 0; i < 4; i++) {
|
unsigned i;
|
||||||
|
for (i = 0; i < 4; i++) {
|
||||||
u8 *ret = block_lookup_translate_arm(pc);
|
u8 *ret = block_lookup_translate_arm(pc);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
translate_icache_sync();
|
translate_icache_sync();
|
||||||
|
@ -2667,7 +2668,8 @@ u8 function_cc *block_lookup_address_arm(u32 pc)
|
||||||
|
|
||||||
u8 function_cc *block_lookup_address_thumb(u32 pc)
|
u8 function_cc *block_lookup_address_thumb(u32 pc)
|
||||||
{
|
{
|
||||||
for (unsigned i = 0; i < 4; i++) {
|
unsigned i;
|
||||||
|
for (i = 0; i < 4; i++) {
|
||||||
u8 *ret = block_lookup_translate_thumb(pc);
|
u8 *ret = block_lookup_translate_thumb(pc);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
translate_icache_sync();
|
translate_icache_sync();
|
||||||
|
|
Loading…
Add table
Reference in a new issue