Skip to content

Commit

Permalink
reuse slot
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvergnaud committed Mar 10, 2024
1 parent b49838a commit 2865844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/JavaScript/src/antlr4/misc/BitSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class BitSet {
BitSet._checkIndex(index)
const slot = index >>> 5;
if (slot < this.data.length) {
this.data[index >>> 5] &= ~(1 << index);
this.data[slot] &= ~(1 << index);
}
}

Expand Down

0 comments on commit 2865844

Please sign in to comment.