src/cpu/x86/vm/c1_FrameMap_x86.hpp

changeset 4159
8e47bac5643a
parent 4051
8a02ca5e5576
child 4164
d804e148cff8
     1.1 --- a/src/cpu/x86/vm/c1_FrameMap_x86.hpp	Mon Oct 08 17:04:00 2012 -0700
     1.2 +++ b/src/cpu/x86/vm/c1_FrameMap_x86.hpp	Tue Oct 09 10:11:38 2012 +0200
     1.3 @@ -148,7 +148,7 @@
     1.4  
     1.5    static int adjust_reg_range(int range) {
     1.6      // Reduce the number of available regs (to free r12) in case of compressed oops
     1.7 -    if (UseCompressedOops) return range - 1;
     1.8 +    if (UseCompressedOops || UseCompressedKlassPointers) return range - 1;
     1.9      return range;
    1.10    }
    1.11  

mercurial