src/cpu/x86/vm/c1_LIRGenerator_x86.cpp

changeset 1934
e9ff18c4ace7
parent 1907
c18cbe5936b8
parent 1927
87fc6aca31ab
child 2036
126ea7725993
     1.1 --- a/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp	Tue Jun 01 11:48:33 2010 -0700
     1.2 +++ b/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp	Wed Jun 02 22:45:42 2010 -0700
     1.3 @@ -175,7 +175,7 @@
     1.4      // store and again for the card mark.
     1.5      LIR_Opr tmp = new_pointer_register();
     1.6      __ leal(LIR_OprFact::address(addr), tmp);
     1.7 -    return new LIR_Address(tmp, 0, type);
     1.8 +    return new LIR_Address(tmp, type);
     1.9    } else {
    1.10      return addr;
    1.11    }
    1.12 @@ -185,7 +185,7 @@
    1.13  void LIRGenerator::increment_counter(address counter, int step) {
    1.14    LIR_Opr pointer = new_pointer_register();
    1.15    __ move(LIR_OprFact::intptrConst(counter), pointer);
    1.16 -  LIR_Address* addr = new LIR_Address(pointer, 0, T_INT);
    1.17 +  LIR_Address* addr = new LIR_Address(pointer, T_INT);
    1.18    increment_counter(addr, step);
    1.19  }
    1.20  

mercurial