Skip to content
Snippets Groups Projects
Commit 9562f187 authored by Simon Marlow's avatar Simon Marlow
Browse files

further fixes to the #5505 fix.

parent b04cc4c7
Branches
Tags
No related merge requests found
......@@ -33,7 +33,6 @@ updateAdjacentFrames (Capability *cap, StgTSO *tso,
StgUpdateFrame *upd, nat count, struct stack_gap *next)
{
StgClosure *updatee;
StgUpdateFrame *frame;
struct stack_gap *gap;
nat i;
......@@ -51,10 +50,10 @@ updateAdjacentFrames (Capability *cap, StgTSO *tso,
updatee = upd->updatee;
count--;
frame = upd - 1;
gap = (struct stack_gap*)frame;
upd--;
gap = (struct stack_gap*)upd;
for (i = count; i > 0; i--, frame--) {
for (i = count; i > 0; i--, upd--) {
/*
* Check two things: that the two update frames
* don't point to the same object, and that the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment