I would go with the assertion.
--
Magic is insufficiently advanced technology.
2009/10/10 Evan Phoenix <ev...@fallingsnow.net>:
Ahh! OK!. thanks.
> The code got left in when we changed how spilling works. It doesn't
> really hurt anything to stay there, in case something else changes and
> it starts being used. There would be 2 ways to remove it:
>
> 1) Remove the condition in the 'else if', so that we always allocate
> to next "unprotected". Doing that could easily introduce some subtle
> bug.
>
> 2) Replace the next with an assert. This would show us that something
> else is being weird in the GC, and cause everything to halt.
>
> Given those 2 options, leaving the code in seems the best way to
> handle it.
>
> - Evan
>
I like (2) is the best.
--
Narihiro Nakamura
blog : http://d.hatena.ne.jp/authorNari/
twitter : http://twitter.com/nari3