Skip to content

Commit

Permalink
Remove unnecessary assertion.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkskeller committed Jan 12, 2024
1 parent a4954df commit c4039d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion GC/Processor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ void Processor<T>::andrsvec(const vector<int>& args)
int n_args = (*it++ - 3) / 2;
int size = *it++;
int base = *(it + n_args);
assert(n_args <= N_BITS);
for (int i = 0; i < size; i += 1)
{
if (i % N_BITS == 0)
Expand Down
1 change: 0 additions & 1 deletion GC/ShareThread.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ void ShareThread<T>::andrsvec(Processor<T>& processor, const vector<int>& args)
int size = *it++;
it += n_args;
int base = *it++;
assert(n_args <= N_BITS);
for (int i = 0; i < size; i += N_BITS)
{
int n_ops = min(N_BITS, size - i);
Expand Down

0 comments on commit c4039d5

Please sign in to comment.