Skip to content

Commit

Permalink
Merge branch 'static-schedule' of https://github.com/lf-lang/reactor-c
Browse files Browse the repository at this point in the history
…into static-schedule
  • Loading branch information
erlingrj committed Oct 25, 2024
2 parents 51e63f6 + 1082131 commit 1837c6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/threaded/scheduler_static.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,9 @@ void execute_inst_ADV(lf_scheduler_t* scheduler, size_t worker_number, operand_t
int pc_orig = (int) *pc;
tracepoint_static_scheduler_ADV_starts(worker_number, pc_orig);
#endif
self_base_t *reactor = (self_base_t*) op1.reg;
reg_t *base = op2.reg;
reg_t *inc = op3.reg;
self_base_t* reactor =
scheduler->reactor_self_instances[op1.imm];
reactor->tag.time = *base + *inc;
reactor->tag.microstep = 0;

Expand Down

0 comments on commit 1837c6c

Please sign in to comment.