Showing the changes to src/vm/vm_memory.cpp (1 of 14 files). Show all
Unified · Split
| @@ -170,13 +170,13 @@ void disvm::runtime::init_memory(const type_descriptor_t &type_desc, void *data) · 169 unmodified lines | ||
| 170 | 170 | |
| 171 | 171 | namespace |
| 172 | 172 | { |
| 173 | − void dec_ref_and_free_pointer_field(pointer_t pointer_field) | |
| 173 | + void dec_ref_and_free_pointer_field(pointer_t pointer_field, std::size_t) | |
| 174 | 174 | { |
| 175 | 175 | assert(pointer_field != nullptr); |
| 176 | 176 | dec_ref_count_and_free(vm_alloc_t::from_allocation(pointer_field)); |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | − void add_ref_pointer_field(pointer_t pointer_field) | |
| 179 | + void add_ref_pointer_field(pointer_t pointer_field, std::size_t) | |
| 180 | 180 | { |
| 181 | 181 | assert(pointer_field != nullptr); |
| 182 | 182 | vm_alloc_t::from_allocation(pointer_field)->add_ref(); |