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

Method numCurrentNonLocals

ir/memory.cpp:915–919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

913}
914
915unsigned Memory::numCurrentNonLocals() const {
916 unsigned bids = min(next_nonlocal_bid, max_program_nonlocal_bid());
917 assert(!is_fncall_mem(bids));
918 return bids + 1;
919}
920
921unsigned Memory::numLocals() const {
922 return state->isSource() ? num_locals_src : num_locals_tgt;

Callers 1

isDereferenceableMethod · 0.80

Calls 2

max_program_nonlocal_bidFunction · 0.85
is_fncall_memFunction · 0.85

Tested by

no test coverage detected