src/share/vm/compiler/methodLiveness.cpp

changeset 777
37f87013dfd8
parent 435
a61af66fc99e
child 1570
e66fd840cb6b
     1.1 --- a/src/share/vm/compiler/methodLiveness.cpp	Wed Jun 04 13:51:09 2008 -0700
     1.2 +++ b/src/share/vm/compiler/methodLiveness.cpp	Thu Jun 05 15:57:56 2008 -0700
     1.3 @@ -76,8 +76,9 @@
     1.4    BitCounter() : _count(0) {}
     1.5  
     1.6    // Callback when bit in map is set
     1.7 -  virtual void do_bit(size_t offset) {
     1.8 +  virtual bool do_bit(size_t offset) {
     1.9      _count++;
    1.10 +    return true;
    1.11    }
    1.12  
    1.13    int count() {
    1.14 @@ -467,7 +468,7 @@
    1.15      bci = 0;
    1.16    }
    1.17  
    1.18 -  MethodLivenessResult answer(NULL,0);
    1.19 +  MethodLivenessResult answer((uintptr_t*)NULL,0);
    1.20  
    1.21    if (_block_count > 0) {
    1.22      if (TimeLivenessAnalysis) _time_total.start();

mercurial