.
This commit is contained in:
@@ -9,13 +9,13 @@ namespace tyche::vm {
|
||||
|
||||
class VM {
|
||||
public:
|
||||
void load_bytecode(ByteArray const& ba);
|
||||
VM& load_bytecode(ByteArray const& ba);
|
||||
|
||||
void call(size_t n_params);
|
||||
VM& call(size_t n_params);
|
||||
|
||||
[[nodiscard]] int32_t to_integer(int index) const;
|
||||
|
||||
void push_integer(int32_t value);
|
||||
VM& push_integer(int32_t value);
|
||||
|
||||
[[nodiscard]] std::string debug_stack() const { return stack_.debug(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user