History

Create specific exception when index is out of range. Update thread class to print out exception details. Throw exception when an invalid op-code is detected. Enforce mspawn instruction cannot start from a built-in module.

arr committed 10 years ago

Commit 266fad61 parent 9af409310 files · +63 −40Browse files

Showing the changes to src/include/runtime.h (1 of 10 files). Show all

Unified · Split

src/include/runtime.h+1−1
@@ -759,7 +759,7 @@ namespace disvm · 758 unmodified lines
759759
760760 ~vm_thread_t();
761761
762− vm_thread_state_t execute(vm_t &virtual_machine, uint32_t quanta);
762+ vm_thread_state_t execute(vm_t &virtual_machine, const uint32_t quanta);
763763
764764 vm_thread_state_t get_state() const;
765765