src/share/vm/compiler/methodLiveness.cpp

Print this page

        

@@ -473,11 +473,11 @@
   if (entry_bci == InvocationEntryBci) {
     is_entry = true;
     bci = 0;
   }
 
-  MethodLivenessResult answer((uintptr_t*)NULL,0);
+  MethodLivenessResult answer((BitMap::bm_word_t*)NULL,0);
 
   if (_block_count > 0) {
     if (TimeLivenessAnalysis) _time_total.start();
     if (TimeLivenessAnalysis) _time_query.start();
 

@@ -998,11 +998,11 @@
 bool MethodLiveness::BasicBlock::merge_exception(BitMap other) {
   return _exception_exit.set_union_with_result(other);
 }
 
 MethodLivenessResult MethodLiveness::BasicBlock::get_liveness_at(ciMethod* method, int bci) {
-  MethodLivenessResult answer(NEW_RESOURCE_ARRAY(uintptr_t, _analyzer->bit_map_size_words()),
+  MethodLivenessResult answer(NEW_RESOURCE_ARRAY(BitMap::bm_word_t, _analyzer->bit_map_size_words()),
                 _analyzer->bit_map_size_bits());
   answer.set_is_valid();
 
 #ifndef ASSERT
   if (bci == start_bci()) {