| 331 | } |
| 332 | |
| 333 | expr Pointer::blockSizeAligned() const { |
| 334 | auto size = blockSize(); |
| 335 | // programs can't observe whether the size was increased up to alignment |
| 336 | if (!has_globals_diff_align) |
| 337 | return size; |
| 338 | return size.round_up_bits(blockAlignment().zextOrTrunc(bits_size_t)); |
| 339 | } |
| 340 | |
| 341 | expr Pointer::blockSizeAlignedOffsetT() const { |
| 342 | expr sz = blockSizeAligned(); |
no test coverage detected