Generate an exception instead of exiting.
* src/vm/jit/allocator/lsra.c (lsra_scan_registers_canditates):
Likewise.
Changes: Christian Thalinger
- $Id: lsra.c 4357 2006-01-22 23:33:38Z twisti $
+ $Id: lsra.c 4434 2006-02-04 23:56:24Z twisti $
*/
break;
default:
- throw_cacao_exception_exit(string_java_lang_InternalError,
- "Unknown ICMD %d during register allocation", iptr->opc);
+ *exceptionptr =
+ new_internalerror("Unknown ICMD %d during register allocation",
+ iptr->opc);
+ return;
} /* switch */
#if defined(LSRA_USES_REG_RES)
Christian Ullrich
Michael Starzinger
- $Id: simplereg.c 4387 2006-01-30 14:24:56Z christian $
+ $Id: simplereg.c 4434 2006-02-04 23:56:24Z twisti $
*/
break;
default:
- throw_cacao_exception_exit(string_java_lang_InternalError,
- "Unknown ICMD %d during register allocation",
- iptr->opc);
+ *exceptionptr =
+ new_internalerror("Unknown ICMD %d during register allocation",
+ iptr->opc);
+ return;
} /* switch */
iptr++;
} /* while instructions */