Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_FrameMap_x86.hpp @ 12226:7944aba7ba41
8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
author | ehelin |
---|---|
date | Mon, 12 Aug 2013 17:37:02 +0200 |
parents | d804e148cff8 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12226:7944aba7ba41 |
---|---|
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); } |