History

Debugger supports breakpoints (set/clear/list) Clean up usage of final and override on various classes Distinguish tool events for vm loading module and thread loading module

arr committed 10 years ago

Commit e2f8e251 parent d8c9a3314 files · +382 −177Browse files

Showing the changes to src/vm/vm_memory.cpp (1 of 14 files). Show all

Unified · Split

src/vm/vm_memory.cpp+2−2
@@ -170,13 +170,13 @@ void disvm::runtime::init_memory(const type_descriptor_t &type_desc, void *data) · 169 unmodified lines
170 170
171namespace171namespace
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 assert(pointer_field != nullptr);175 assert(pointer_field != nullptr);
176 dec_ref_count_and_free(vm_alloc_t::from_allocation(pointer_field));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 assert(pointer_field != nullptr);181 assert(pointer_field != nullptr);
182 vm_alloc_t::from_allocation(pointer_field)->add_ref();182 vm_alloc_t::from_allocation(pointer_field)->add_ref();