ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libcoro/coro.c
(Generate patch)

Comparing libcoro/coro.c (file contents):
Revision 1.33 by root, Thu Oct 30 09:44:31 2008 UTC vs.
Revision 1.34 by root, Mon Nov 3 15:25:12 2008 UTC

327 327
328 ctx->sp = (volatile void **)(ssize + (char *)sptr); 328 ctx->sp = (volatile void **)(ssize + (char *)sptr);
329 /* we try to allow for both functions with and without frame pointers */ 329 /* we try to allow for both functions with and without frame pointers */
330 *--ctx->sp = (void *)coro_init; 330 *--ctx->sp = (void *)coro_init;
331 { 331 {
332 void **frame = ctx->sp - 1; 332 void *frame = ctx->sp - 1;
333 int i; 333 int i;
334 for (i = NUM_SAVED; i--; ) 334 for (i = NUM_SAVED; i--; )
335 *--ctx->sp = frame; 335 *--ctx->sp = frame;
336 } 336 }
337 337

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines