From f1ed1436240a2d0d3d45a7061ade26cdc25be352 Mon Sep 17 00:00:00 2001 From: Yukihiro Matz Matsumoto Date: Fri, 7 Dec 2012 16:58:50 +0900 Subject: mange arena_idx smarter for smaller ARENA_SIZE; now default to 100 from 1024 --- mrblib/init_mrblib.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mrblib') diff --git a/mrblib/init_mrblib.c b/mrblib/init_mrblib.c index 72355e3eb..eb7156bf1 100644 --- a/mrblib/init_mrblib.c +++ b/mrblib/init_mrblib.c @@ -9,8 +9,6 @@ extern const char mrblib_irep[]; void mrb_init_mrblib(mrb_state *mrb) { - int n = mrb_read_irep(mrb, mrblib_irep); - - mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_top_self(mrb)); + mrb_load_irep(mrb, mrblib_irep); } -- cgit v1.2.3