Commit 2a8124bb authored by yb9976's avatar yb9976
Browse files

Added assertion to assure that we don't run into an endless loop.

[r22137]
parent cf204fd9
......@@ -107,6 +107,8 @@ static int casecmp(const void *a, const void *b)
static void create_if_cascade(ifcas_env_t *env, ir_node *curblock,
case_data_t *curcases, int numcases)
{
assert(numcases > 0);
set_cur_block(curblock);
if(numcases == 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment