Skip to content

Commit

Permalink
report_checks -thru crpr
Browse files Browse the repository at this point in the history
Signed-off-by: James Cherry <[email protected]>
  • Loading branch information
jjcherry56 committed Jan 7, 2022
1 parent 20c2e5e commit 9794912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 36 deletions.
7 changes: 4 additions & 3 deletions search/Search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1198,10 +1198,11 @@ Search::arrivalsChanged(Vertex *vertex,
int arrival_index1;
arrival_iter1.next(tag1, arrival_index1);
Arrival &arrival1 = arrivals1[arrival_index1];
Tag *tag2;
Arrival arrival2;
bool arrival_exists2;
tag_bldr->tagArrival(tag1, arrival2, arrival_exists2);
if (!arrival_exists2
int arrival_index2;
tag_bldr->tagMatchArrival(tag1, tag2, arrival2, arrival_index2);
if (tag2 != tag1
|| !delayEqual(arrival1, arrival2))
return true;
}
Expand Down
24 changes: 0 additions & 24 deletions search/TagGroup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,30 +162,6 @@ TagGroupBldr::reportArrivalEntries() const
arrivalMapReport(&arrival_map_, sta_);
}

void
TagGroupBldr::tagArrival(Tag *tag,
// Return values.
Arrival &arrival,
int &arrival_index,
bool &exists) const
{
arrival_map_.findKey(tag, arrival_index, exists);
if (exists)
arrival = arrivals_[arrival_index];
}

void
TagGroupBldr::tagArrival(Tag *tag,
// Return values.
Arrival &arrival,
bool &exists) const
{
int arrival_index;
arrival_map_.findKey(tag, arrival_index, exists);
if (exists)
arrival = arrivals_[arrival_index];
}

void
TagGroupBldr::tagMatchArrival(Tag *tag,
// Return values.
Expand Down
9 changes: 0 additions & 9 deletions search/TagGroup.hh
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,6 @@ public:
bool hasFilterTag() const { return has_filter_tag_; }
bool hasLoopTag() const { return has_loop_tag_; }
void deleteArrival(Tag *tag);
void tagArrival(Tag *tag,
// Return values.
Arrival &arrival,
bool &exists) const;
void tagArrival(Tag *tag,
// Return values.
Arrival &arrival,
int &arrival_index,
bool &exists) const;
void tagMatchArrival(Tag *tag,
// Return values.
Tag *&tag_match,
Expand Down

0 comments on commit 9794912

Please sign in to comment.