Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ public static void addNewEntry(RubyHash hash, int hashed, Object key, Object val

@CompilerDirectives.TruffleBoundary
public static void resize(RubyHash hash) {
HashOperations.verifyStore(hash);
assert HashOperations.verifyStore(hash);

final int bucketsCount = capacityGreaterThan(hash.getSize()) * 2;
final Entry[] newEntries = new Entry[bucketsCount];
@@ -100,7 +100,7 @@ public static void resize(RubyHash hash) {

hash.setStore(newEntries, hash.getSize(), hash.getFirstInSequence(), hash.getLastInSequence());

HashOperations.verifyStore(hash);
assert HashOperations.verifyStore(hash);
}

}

0 comments on commit 8271b9c

Please sign in to comment.