hotspot/src/share/vm/compiler/methodLiveness.cpp
changeset 1374 4c24294029a9
parent 1 489c9b5090e2
child 4564 55dfb20908d0
--- a/hotspot/src/share/vm/compiler/methodLiveness.cpp	Wed Jun 04 13:51:09 2008 -0700
+++ b/hotspot/src/share/vm/compiler/methodLiveness.cpp	Thu Jun 05 15:57:56 2008 -0700
@@ -76,8 +76,9 @@
   BitCounter() : _count(0) {}
 
   // Callback when bit in map is set
-  virtual void do_bit(size_t offset) {
+  virtual bool do_bit(size_t offset) {
     _count++;
+    return true;
   }
 
   int count() {
@@ -467,7 +468,7 @@
     bci = 0;
   }
 
-  MethodLivenessResult answer(NULL,0);
+  MethodLivenessResult answer((uintptr_t*)NULL,0);
 
   if (_block_count > 0) {
     if (TimeLivenessAnalysis) _time_total.start();