diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-01 17:36:23 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-06-01 19:17:48 +0900 |
| commit | 7ff90b52d82dc339d9750a0a4e3e8c0bdf8e2c8e (patch) | |
| tree | 26abfe84d318b8622b666c4dbe31efa18310a235 /src/gc.c | |
| parent | 72b635f7d23d8ce8c949b170d2975459a9f54250 (diff) | |
| download | mruby-7ff90b52d82dc339d9750a0a4e3e8c0bdf8e2c8e.tar.gz mruby-7ff90b52d82dc339d9750a0a4e3e8c0bdf8e2c8e.zip | |
Simplify ensure stack management; fix #3683
Diffstat (limited to 'src/gc.c')
| -rw-r--r-- | src/gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -933,7 +933,7 @@ gc_gray_mark(mrb_state *mrb, mrb_gc *gc, struct RBasic *obj) children += i; /* mark ensure stack */ - children += (c->ci) ? c->ci->eidx : 0; + children += c->eidx; /* mark closure */ if (c->cibase) { |
