Skip to content

Commit

Permalink
Remove commented-out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
neboat committed Jul 30, 2024
1 parent 6f8f039 commit 452b2c8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions runtime/cilk2c_inlined.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ __cilkrts_enter_frame_helper(__cilkrts_stack_frame *sf,
sf->flags = 0;
sf->magic = frame_magic;

// struct cilk_fiber *fh = __cilkrts_current_fh;
// sf->fh = fh;
// sf->call_parent = fh->current_stack_frame;
struct cilk_fiber *fh = parent->fh;
sf->fh = fh;
if (spawner) {
Expand Down Expand Up @@ -157,8 +154,6 @@ __cilkrts_detach(__cilkrts_stack_frame *sf, __cilkrts_stack_frame *parent) {

CILK_ASSERT(CHECK_CILK_FRAME_MAGIC(w->g, sf));

// struct __cilkrts_stack_frame *parent = sf->call_parent;

if (USE_EXTENSION) {
__cilkrts_extend_spawn(w, &parent->extension, &w->extension);
}
Expand Down Expand Up @@ -269,7 +264,6 @@ __cilkrts_leave_frame_helper(__cilkrts_stack_frame *sf,
// Pop this frame off the cactus stack. This logic used to be in
// __cilkrts_pop_frame, but has been manually inlined to avoid reloading the
// worker unnecessarily.
// __cilkrts_stack_frame *parent = sf->call_parent;
if (spawner)
sf->fh->current_stack_frame = parent;
if (USE_EXTENSION) {
Expand Down Expand Up @@ -336,8 +330,6 @@ __cilkrts_pause_frame(__cilkrts_stack_frame *sf, __cilkrts_stack_frame *parent,

CILK_ASSERT(CHECK_CILK_FRAME_MAGIC(w->g, sf));

// __cilkrts_stack_frame *parent = sf->call_parent;

// Pop this frame off the cactus stack. This logic used to be in
// __cilkrts_pop_frame, but has been manually inlined to avoid reloading the
// worker unnecessarily.
Expand Down

0 comments on commit 452b2c8

Please sign in to comment.