| 913 | } |
| 914 | |
| 915 | unsigned 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 | |
| 921 | unsigned Memory::numLocals() const { |
| 922 | return state->isSource() ? num_locals_src : num_locals_tgt; |
no test coverage detected