diff options
| -rw-r--r-- | include/mruby/irep.h | 2 | ||||
| -rw-r--r-- | src/cdump.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h index 108e4df91..3ba68a261 100644 --- a/include/mruby/irep.h +++ b/include/mruby/irep.h @@ -36,4 +36,6 @@ mrb_irep *mrb_add_irep(mrb_state *mrb); } /* extern "C" { */ #endif +mrb_value mrb_load_irep(mrb_state*,const char*); + #endif /* MRUBY_IREP_H */ diff --git a/src/cdump.c b/src/cdump.c index b43c86ee7..e822c2db6 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -136,6 +136,7 @@ make_cdump_irep(mrb_state *mrb, int irep_no, FILE *f) SOURCE_CODE0 (" irep->syms = NULL;"); SOURCE_CODE0 (" irep->pool = NULL;"); + SOURCE_CODE0 (" irep->lines = NULL;"); SOURCE_CODE0 (" mrb->irep_len = idx;"); SOURCE_CODE0 (" irep->plen = 0;"); if(irep->plen > 0) { |
