comparison src/share/vm/compiler/methodLiveness.cpp @ 20221:ab5fbf410512

8043722: Swapped usage of idx_t and bm_word_t types in parMarkBitMap.cpp Summary: Clean up usage of idx_t and uintptr_t when using it in conjunction with BitMap::set_map(), casting to the appropriate type. Fixes compilation on S390. Reviewed-by: tschatzl Contributed-by: Dan Horak <dhorak@redhat.com>
author tschatzl
date Mon, 21 Jul 2014 09:40:19 +0200
parents 78bbf4d43a14
children
comparison
equal deleted inserted replaced
20220:d15367d92f0d 20221:ab5fbf410512
473 if (entry_bci == InvocationEntryBci) { 473 if (entry_bci == InvocationEntryBci) {
474 is_entry = true; 474 is_entry = true;
475 bci = 0; 475 bci = 0;
476 } 476 }
477 477
478 MethodLivenessResult answer((uintptr_t*)NULL,0); 478 MethodLivenessResult answer((BitMap::bm_word_t*)NULL,0);
479 479
480 if (_block_count > 0) { 480 if (_block_count > 0) {
481 if (TimeLivenessAnalysis) _time_total.start(); 481 if (TimeLivenessAnalysis) _time_total.start();
482 if (TimeLivenessAnalysis) _time_query.start(); 482 if (TimeLivenessAnalysis) _time_query.start();
483 483
998 bool MethodLiveness::BasicBlock::merge_exception(BitMap other) { 998 bool MethodLiveness::BasicBlock::merge_exception(BitMap other) {
999 return _exception_exit.set_union_with_result(other); 999 return _exception_exit.set_union_with_result(other);
1000 } 1000 }
1001 1001
1002 MethodLivenessResult MethodLiveness::BasicBlock::get_liveness_at(ciMethod* method, int bci) { 1002 MethodLivenessResult MethodLiveness::BasicBlock::get_liveness_at(ciMethod* method, int bci) {
1003 MethodLivenessResult answer(NEW_RESOURCE_ARRAY(uintptr_t, _analyzer->bit_map_size_words()), 1003 MethodLivenessResult answer(NEW_RESOURCE_ARRAY(BitMap::bm_word_t, _analyzer->bit_map_size_words()),
1004 _analyzer->bit_map_size_bits()); 1004 _analyzer->bit_map_size_bits());
1005 answer.set_is_valid(); 1005 answer.set_is_valid();
1006 1006
1007 #ifndef ASSERT 1007 #ifndef ASSERT
1008 if (bci == start_bci()) { 1008 if (bci == start_bci()) {