double-check that nested continuation is really nested

svn: r2561
This commit is contained in:
Robby Findler 2006-03-31 21:38:08 +00:00
parent dd89364c2d
commit 2670a1d075

View File

@ -457,6 +457,12 @@ int scheme_setjmpup_relative(Scheme_Jumpup_Buf *b, void *base,
FLUSH_REGISTER_WINDOWS;
if (c) {
if (STK_COMP(c->buf.stack_from, start)) {
c = NULL;
}
}
if (STK_COMP((unsigned long)start, (unsigned long)&local))
start = (void *)&local;