Mercurial > hg > graal-jvmci-8
diff src/cpu/x86/vm/c1_FrameMap_x86.hpp @ 6848:8e47bac5643a
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 09 Oct 2012 10:11:38 +0200 |
parents | 8a02ca5e5576 |
children | d804e148cff8 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_FrameMap_x86.hpp Mon Oct 08 17:04:00 2012 -0700 +++ b/src/cpu/x86/vm/c1_FrameMap_x86.hpp Tue Oct 09 10:11:38 2012 +0200 @@ -148,7 +148,7 @@ static int adjust_reg_range(int range) { // Reduce the number of available regs (to free r12) in case of compressed oops - if (UseCompressedOops) return range - 1; + if (UseCompressedOops || UseCompressedKlassPointers) return range - 1; return range; }