Hide OP_EXEC lambda body from `ObjectSpace#each_object`; fix #3680

parent 90fb4dd5
...@@ -2609,6 +2609,7 @@ RETRY_TRY_BLOCK: ...@@ -2609,6 +2609,7 @@ RETRY_TRY_BLOCK:
/* prepare closure */ /* prepare closure */
p = mrb_closure_new(mrb, irep->reps[GETARG_Bx(i)]); p = mrb_closure_new(mrb, irep->reps[GETARG_Bx(i)]);
p->c = NULL;
/* prepare stack */ /* prepare stack */
ci = cipush(mrb); ci = cipush(mrb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment