From dabb20ddbb51e6dac3bb6a8bac6dfcfd76808ac0 Mon Sep 17 00:00:00 2001 From: yuri Date: Tue, 10 Jul 2018 01:42:33 +0900 Subject: add mrbc option `--remove-lv` * refactor: move `irep_remove_lv` from `mruby-bin-strip` gem to src/dump and rename to `mrb_irep_remove_lv` * add: mrbc option `--remove-lv` to remove LVAR section --- include/mruby/dump.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mruby/dump.h b/include/mruby/dump.h index f56d66a32..39a99e97b 100644 --- a/include/mruby/dump.h +++ b/include/mruby/dump.h @@ -31,6 +31,7 @@ MRB_API mrb_value mrb_load_irep_file(mrb_state*,FILE*); MRB_API mrb_value mrb_load_irep_file_cxt(mrb_state*, FILE*, mrbc_context*); #endif MRB_API mrb_irep *mrb_read_irep(mrb_state*, const uint8_t*); +void mrb_irep_remove_lv(mrb_state *mrb, mrb_irep *irep); /* dump/load error code * -- cgit v1.2.3