Revision a607922c

b/target-mips/op_helper.c
50 50

  
51 51
void do_restore_state (void *pc_ptr)
52 52
{
53
  TranslationBlock *tb;
54
  unsigned long pc = (unsigned long) pc_ptr;
55

  
56
  tb = tb_find_pc (pc);
57
  cpu_restore_state (tb, env, pc, NULL);
53
    TranslationBlock *tb;
54
    unsigned long pc = (unsigned long) pc_ptr;
55
    
56
    tb = tb_find_pc (pc);
57
    if (tb) {
58
        cpu_restore_state (tb, env, pc, NULL);
59
    }
58 60
}
59 61

  
60 62
void do_raise_exception_direct_err (uint32_t exception, int error_code)

Also available in: Unified diff