equal
deleted
inserted
replaced
360 TosState flag_state() const { assert((uint)number_of_states <= (uint)tos_state_mask+1, ""); |
360 TosState flag_state() const { assert((uint)number_of_states <= (uint)tos_state_mask+1, ""); |
361 return (TosState)((_flags >> tos_state_shift) & tos_state_mask); } |
361 return (TosState)((_flags >> tos_state_shift) & tos_state_mask); } |
362 |
362 |
363 // Code generation support |
363 // Code generation support |
364 static WordSize size() { |
364 static WordSize size() { |
365 return in_WordSize(align_size_up((int)sizeof(ConstantPoolCacheEntry), wordSize) / wordSize); |
365 return in_WordSize(align_up((int)sizeof(ConstantPoolCacheEntry), wordSize) / wordSize); |
366 } |
366 } |
367 static ByteSize size_in_bytes() { return in_ByteSize(sizeof(ConstantPoolCacheEntry)); } |
367 static ByteSize size_in_bytes() { return in_ByteSize(sizeof(ConstantPoolCacheEntry)); } |
368 static ByteSize indices_offset() { return byte_offset_of(ConstantPoolCacheEntry, _indices); } |
368 static ByteSize indices_offset() { return byte_offset_of(ConstantPoolCacheEntry, _indices); } |
369 static ByteSize f1_offset() { return byte_offset_of(ConstantPoolCacheEntry, _f1); } |
369 static ByteSize f1_offset() { return byte_offset_of(ConstantPoolCacheEntry, _f1); } |
370 static ByteSize f2_offset() { return byte_offset_of(ConstantPoolCacheEntry, _f2); } |
370 static ByteSize f2_offset() { return byte_offset_of(ConstantPoolCacheEntry, _f2); } |