Mercurial > hg > truffle
comparison src/share/vm/c1/c1_FrameMap.cpp @ 304:dc7f315e41f7
5108146: Merge i486 and amd64 cpu directories
6459804: Want client (c1) compiler for x86_64 (amd64) for faster start-up
Reviewed-by: kvn
author | never |
---|---|
date | Wed, 27 Aug 2008 00:21:55 -0700 |
parents | a61af66fc99e |
children | 9ee9cf798b59 |
comparison
equal
deleted
inserted
replaced
303:fa4d1d240383 | 304:dc7f315e41f7 |
---|---|
276 } | 276 } |
277 | 277 |
278 ByteSize FrameMap::sp_offset_for_monitor_base(const int index) const { | 278 ByteSize FrameMap::sp_offset_for_monitor_base(const int index) const { |
279 int end_of_spills = round_to(first_available_sp_in_frame + _reserved_argument_area_size, sizeof(double)) + | 279 int end_of_spills = round_to(first_available_sp_in_frame + _reserved_argument_area_size, sizeof(double)) + |
280 _num_spills * spill_slot_size_in_bytes; | 280 _num_spills * spill_slot_size_in_bytes; |
281 int offset = round_to(end_of_spills, HeapWordSize) + index * sizeof(BasicObjectLock); | 281 int offset = (int) round_to(end_of_spills, HeapWordSize) + index * sizeof(BasicObjectLock); |
282 return in_ByteSize(offset); | 282 return in_ByteSize(offset); |
283 } | 283 } |
284 | 284 |
285 ByteSize FrameMap::sp_offset_for_monitor_lock(int index) const { | 285 ByteSize FrameMap::sp_offset_for_monitor_lock(int index) const { |
286 check_monitor_index(index); | 286 check_monitor_index(index); |