Skip to content

Commit

Permalink
Merge pull request #230 from jeremyevans/patch-1
Browse files Browse the repository at this point in the history
Ensure 16-byte alignment for amd64 coroutine stack
  • Loading branch information
stevedekorte committed Oct 12, 2012
2 parents 7bf702c + 84c9e4f commit 91c356f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/coroutine/source/Coro.c
Expand Up @@ -599,7 +599,7 @@ void Coro_setup(Coro *self, void *arg)
if (64 > (- sav[i] + (uintptr_t)&i))
break;
assert(i < sz);
sav[i] = stackend - sizeof(uintptr_t) - 128;
sav[i] = stackend - sizeof(uintptr_t)*2 - 128;
}
}

Expand Down

0 comments on commit 91c356f

Please sign in to comment.