| 1686 | } |
| 1687 | |
| 1688 | bool cHardwareCPU::Allocate_Random(cAvidaContext& ctx, const int old_size, const int new_size) |
| 1689 | { |
| 1690 | m_memory.Resize(new_size); |
| 1691 | |
| 1692 | for (int i = old_size; i < new_size; i++) { |
| 1693 | m_memory[i] = m_inst_set->GetRandomInst(ctx); |
| 1694 | } |
| 1695 | return true; |
| 1696 | } |
| 1697 | |
| 1698 | bool cHardwareCPU::Allocate_Default(const int new_size) |
| 1699 | { |
nothing calls this directly
no test coverage detected