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
This commit is contained in:
yuri
2018-07-10 01:42:33 +09:00
parent 17c9e65603
commit dabb20ddbb
4 changed files with 26 additions and 17 deletions
+1
View File
@@ -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
*