Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions pkg/noun/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,12 +998,6 @@ u3m_bail(u3_noun how)
}
}

// Reset the spin stack pointer
if ( NULL != stk_u ) {
stk_u->off_w = u3R->off_w;
stk_u->fow_w = u3R->fow_w;
}

_longjmp(u3R->esc.buf, how);
}

Expand Down Expand Up @@ -1134,10 +1128,10 @@ u3m_leap(c3_w pad_w)
u3R->kid_p = u3of(u3_road, rod_u);
}

// Add slow stack pointer to rod_u
// Stash slow stack pointer
if ( NULL != stk_u ) {
rod_u->off_w = stk_u->off_w;
rod_u->fow_w = stk_u->fow_w;
u3R->off_w = stk_u->off_w;
u3R->fow_w = stk_u->fow_w;
}

/* Set up the new road.
Expand Down Expand Up @@ -1353,6 +1347,12 @@ u3m_love(u3_noun pro)

if ( _(tim_o) ) _m_renew_now();

// restore slow stack pointer
if ( NULL != stk_u ) {
stk_u->off_w = u3R->off_w;
stk_u->fow_w = u3R->fow_w;
}

// copy product and caches off our stack
//
pro = u3a_take(pro);
Expand Down