feat(furvm): add stack underflow exception
This commit is contained in:
+2
-1
@@ -8,9 +8,10 @@
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
|
||||
static constexpr std::array<furvm::byte, 3> s_bytecode = {
|
||||
static constexpr std::array<furvm::byte, 4> s_bytecode = {
|
||||
furvm::byte(furvm::instruction_t::PushB2I),
|
||||
67,
|
||||
furvm::byte(furvm::instruction_t::Drop),
|
||||
furvm::byte(furvm::instruction_t::Return),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user