diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-07-05 01:36:54 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-07-05 01:36:54 +0900 |
| commit | c4208a413d2706d2914c5ebe112fe14308090f92 (patch) | |
| tree | 82017b45c5b3070e1aabd474a316c09fdde07171 /src | |
| parent | 07bcd6bed8b608d3e01f62f849dbd6d33accea85 (diff) | |
| download | mruby-c4208a413d2706d2914c5ebe112fe14308090f92.tar.gz mruby-c4208a413d2706d2914c5ebe112fe14308090f92.zip | |
restore arena_idx after initializing irep
Diffstat (limited to 'src')
| -rw-r--r-- | src/cdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
