• dearblue's avatar
    Fix `mrb_funcall_with_block()` uses more GC arena · 15dec838
    dearblue authored
    If `mrb->jmp` is `NULL` and the function `mrb_funcall_with_block()` is
    called, GC Arena is returned from the function with over-used.
    
    - A normal (no global exodus) return will consume two GC Arena's.
    - In the event of an exception, five GC Arena are consumed.
    
    This patch reduces consumption in both cases to one.
    15dec838
vm.c 73.6 KB