Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_FrameMap_x86.hpp @ 12355:cefad50507d8
Merge with hs25-b53
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Oct 2013 10:38:03 +0200 |
parents | 7944aba7ba41 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12058:ccb4f2af2319 | 12355:cefad50507d8 |
---|---|
146 return _caller_save_xmm_regs[i]; | 146 return _caller_save_xmm_regs[i]; |
147 } | 147 } |
148 | 148 |
149 static int adjust_reg_range(int range) { | 149 static int adjust_reg_range(int range) { |
150 // Reduce the number of available regs (to free r12) in case of compressed oops | 150 // Reduce the number of available regs (to free r12) in case of compressed oops |
151 if (UseCompressedOops || UseCompressedKlassPointers) return range - 1; | 151 if (UseCompressedOops || UseCompressedClassPointers) return range - 1; |
152 return range; | 152 return range; |
153 } | 153 } |
154 | 154 |
155 static int nof_caller_save_cpu_regs() { return adjust_reg_range(pd_nof_caller_save_cpu_regs_frame_map); } | 155 static int nof_caller_save_cpu_regs() { return adjust_reg_range(pd_nof_caller_save_cpu_regs_frame_map); } |
156 static int last_cpu_reg() { return adjust_reg_range(pd_last_cpu_reg); } | 156 static int last_cpu_reg() { return adjust_reg_range(pd_last_cpu_reg); } |