Mercurial > hg > truffle
comparison src/share/vm/c1/c1_GraphBuilder.cpp @ 1060:323bd24c6520
6769124: various 64-bit fixes for c1
Reviewed-by: never
author | roland |
---|---|
date | Mon, 02 Nov 2009 11:17:55 +0100 |
parents | 148e5441d916 |
children | 3cf667df43ef |
comparison
equal
deleted
inserted
replaced
1059:389049f3f393 | 1060:323bd24c6520 |
---|---|
363 assert(0 <= _next_loop_index && _next_loop_index < BitsPerInt, "_next_loop_index is used as a bit-index in integer"); | 363 assert(0 <= _next_loop_index && _next_loop_index < BitsPerInt, "_next_loop_index is used as a bit-index in integer"); |
364 _loop_map.at_put(block->block_id(), 1 << _next_loop_index); | 364 _loop_map.at_put(block->block_id(), 1 << _next_loop_index); |
365 if (_next_loop_index < 31) _next_loop_index++; | 365 if (_next_loop_index < 31) _next_loop_index++; |
366 } else { | 366 } else { |
367 // block already marked as loop header | 367 // block already marked as loop header |
368 assert(is_power_of_2(_loop_map.at(block->block_id())), "exactly one bit must be set"); | 368 assert(is_power_of_2((unsigned int)_loop_map.at(block->block_id())), "exactly one bit must be set"); |
369 } | 369 } |
370 } | 370 } |
371 | 371 |
372 int BlockListBuilder::mark_loops(BlockBegin* block, bool in_subroutine) { | 372 int BlockListBuilder::mark_loops(BlockBegin* block, bool in_subroutine) { |
373 int block_id = block->block_id(); | 373 int block_id = block->block_id(); |