mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Simplify ensure stack management; fix #3683
This commit is contained in:
+2
-2
@@ -113,7 +113,7 @@ typedef struct {
|
||||
mrb_value *stackent;
|
||||
int nregs;
|
||||
int ridx;
|
||||
int eidx;
|
||||
int epos;
|
||||
struct REnv *env;
|
||||
mrb_code *pc; /* return address */
|
||||
mrb_code *err; /* error position */
|
||||
@@ -143,7 +143,7 @@ struct mrb_context {
|
||||
mrb_code **rescue; /* exception handler stack */
|
||||
int rsize;
|
||||
struct RProc **ensure; /* ensure handler stack */
|
||||
int esize;
|
||||
int esize, eidx;
|
||||
|
||||
enum mrb_fiber_state status;
|
||||
mrb_bool vmexec;
|
||||
|
||||
Reference in New Issue
Block a user