Bytecode decoder support, MRB_BYTECODE_DECODE_OPTION

This commit is contained in:
Kazuaki Tanaka
2016-09-20 23:07:28 +00:00
parent c698c67e10
commit 968ebac001
2 changed files with 14 additions and 3 deletions
+4
View File
@@ -176,6 +176,10 @@ typedef struct mrb_state {
void (*debug_op_hook)(struct mrb_state* mrb, struct mrb_irep *irep, mrb_code *pc, mrb_value *regs);
#endif
#ifdef MRB_BYTECODE_DECODE_OPTION
void (*bytecode_decoder)(struct mrb_state* mrb, mrb_code *code);
#endif
struct RClass *eException_class;
struct RClass *eStandardError_class;
struct RObject *nomem_err; /* pre-allocated NoMemoryError */