MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / bits_ptr_byte_offset

Function bits_ptr_byte_offset

ir/memory.cpp:152–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152static unsigned bits_ptr_byte_offset() {
153 assert(!does_ptr_mem_access || bits_byte <= bits_program_pointer);
154 return bits_byte < bits_program_pointer ? 3 : 0;
155}
156
157static unsigned padding_ptr_byte() {
158 return Byte::bitsByte() - byte_has_ptr_bit() - 1 - Pointer::totalBits()

Callers 5

padding_ptr_byteFunction · 0.85
ByteMethod · 0.85
ptrValueMethod · 0.85
ptrByteoffsetMethod · 0.85
bitsByteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected