Skip to content

Commit

Permalink
minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert Van Renesse committed Aug 19, 2023
1 parent 92488d1 commit b8efdd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion harmony_model_checker/charm/charm.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@ unsigned int check_finals(struct global *global, struct state *state, struct ste

// Check each finally predicate
for (unsigned int i = 0; i < global->nfinals; i++) {
assert(step->ctx->sp == 0);
assert(!step->ctx->failed);
// step->ctx->terminated = false;
// ctx_failure(step->ctx) = 0;
Expand Down
2 changes: 1 addition & 1 deletion harmony_model_checker/charm/graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ struct edge {
struct node *dst; // destination node
hvalue_t after; // resulting context (TODO. index in dst context bag)
struct access_info *ai; // to detect data races
uint16_t inv; // pc of invariant
int16_t inv; // pc of invariant (negative if finally clause)
uint16_t nsteps; // # microsteps
uint8_t ctx_index; // index of context in src state context bag
bool interrupt : 1; // set if state change is an interrupt
Expand Down

0 comments on commit b8efdd2

Please sign in to comment.