From c4208a413d2706d2914c5ebe112fe14308090f92 Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Thu, 5 Jul 2012 01:36:54 +0900 Subject: restore arena_idx after initializing irep --- src/cdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdump.c b/src/cdump.c index f2ba8e8ea..16c1dc8ae 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -159,7 +159,7 @@ make_cdump_irep(mrb_state *mrb, int irep_no, FILE *f) else SOURCE_CODE0 (" irep->pool = NULL;"); SOURCE_CODE0 (" mrb->irep_len = idx;"); - SOURCE_CODE0 (" ai = mrb->arena_idx;"); + SOURCE_CODE0 (" mrb->arena_idx = ai;"); SOURCE_CODE0(""); return MRB_CDUMP_OK; } -- cgit v1.2.3