From 284258367881d74f784485c2e5d282f4f5d490a5 Mon Sep 17 00:00:00 2001 From: Yuichiro MASUI Date: Sat, 2 Mar 2013 23:40:34 +0900 Subject: New mrb format. The detail is in https://github.com/mruby/mruby/issues/944 --- tools/mrbc/mrbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/mrbc') diff --git a/tools/mrbc/mrbc.c b/tools/mrbc/mrbc.c index bc551fffc..b68bf0547 100644 --- a/tools/mrbc/mrbc.c +++ b/tools/mrbc/mrbc.c @@ -203,10 +203,10 @@ main(int argc, char **argv) return EXIT_SUCCESS; } if (args.initname) { - n = mrb_bdump_irep(mrb, n, args.wfp, args.initname); + n = mrb_dump_irep_cfunc(mrb, n, args.wfp, args.initname); } else { - n = mrb_dump_irep(mrb, n, args.wfp); + n = mrb_dump_irep_binary(mrb, n, args.wfp); } cleanup(mrb, &args); -- cgit v1.2.3