On Thursday 24 January 2008 19:11:37 [EMAIL PROTECTED] wrote:

> Author: petdance
> Date: Thu Jan 24 19:11:36 2008
> New Revision: 25208
>
> Modified:
>    trunk/src/exceptions.c
>
> Log:
> Added missing break to switch statement (!!!).  Added checks for NULL
> pointers

> --- trunk/src/exceptions.c    (original)
> +++ trunk/src/exceptions.c    Thu Jan 24 19:11:36 2008
> @@ -664,8 +666,10 @@
>          case PARROT_CGP_CORE:
>          case PARROT_CGP_JIT_CORE:
>              offset = dest - (const opcode_t *)interp->code->prederef.code;
> +            break;
>          default:
>              offset = dest - interp->code->base.data;
> +            break;
>      }
>      return offset;
>  }

Did you test this with make testC and make testj?  I seem to recall removing a 
break to fix one of these cores in a similar situation several months ago.

-- c

Reply via email to