History

Bug in debugger when printing a vm_alloc Bug in vm_string - get_rune/set_rune Update all instantiations of vm_string to use {} - fixed issues

arr committed 9 years ago

Commit bd1f4931 parent 57e9d245 files · +32 −20Browse files

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

Unified · Split

src/vm/module_reader.cpp+1−1
@@ -431,7 +431,7 @@ namespace · 430 unmodified lines
431 if (str_bytes != count)431 if (str_bytes != count)
432 throw module_reader_exception{ "Failed to read string data" };432 throw module_reader_exception{ "Failed to read string data" };
433 433
434 auto new_string = new vm_string_t(str_buffer.size(), str_buffer.data());434 auto new_string = new vm_string_t{ str_buffer.size(), str_buffer.data() };
435 *reinterpret_cast<pointer_t *>(data_dest) = new_string->get_allocation();435 *reinterpret_cast<pointer_t *>(data_dest) = new_string->get_allocation();
436 break;436 break;
437 }437 }