.
This commit is contained in:
@@ -13,9 +13,11 @@ struct BytecodePrototype {
|
||||
using Value = std::variant<int32_t, float>;
|
||||
|
||||
struct Function {
|
||||
uint16_t n_pars = 0;
|
||||
uint16_t n_locals = 0;
|
||||
ByteArray code {};
|
||||
uint16_t n_pars;
|
||||
uint16_t n_locals;
|
||||
ByteArray code;
|
||||
|
||||
Function(uint16_t n_pars_, uint16_t n_locals_) : n_pars(n_pars_), n_locals(n_locals_), code(ByteArray {}) {}
|
||||
};
|
||||
|
||||
std::vector<ConstantValue> constants {};
|
||||
|
||||
Reference in New Issue
Block a user