Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/util/BitMap2D.java @ 2778:2ac7b30b7290
Enabled new block finding algorithm.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Tue, 24 May 2011 21:39:45 +0200 |
parents | 16b9a8b5ad39 |
children |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/util/BitMap2D.java Tue May 24 14:40:47 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/util/BitMap2D.java Tue May 24 21:39:45 2011 +0200 @@ -40,7 +40,8 @@ } private boolean verifyBitWithinSlotIndex(int index) { - return index < bitsPerSlot; + assert index < bitsPerSlot : "index " + index + " is out of bounds " + bitsPerSlot; + return true; } public BitMap2D(int sizeInSlots, int bitsPerSlot) {