Allow values left on the stack at the end of the procedure (it's legal!).

This commit is contained in:
David Given 2016-11-14 21:47:49 +01:00
parent 408b69b17d
commit 0289b1004e

View file

@ -1643,7 +1643,8 @@ static void generate_tree(struct basicblock* bb)
print_stack(); print_stack();
} }
assert(stackptr == 0); /* Yes, we are allowed to leave stuff on the stack at the end of the procedure.
* It's discarded as part of the function return. */
} }
void tb_procedure(void) void tb_procedure(void)