Small cosmetic changes.

parent e26e1186
...@@ -294,21 +294,21 @@ static void ...@@ -294,21 +294,21 @@ static void
ecall(mrb_state *mrb, int i) ecall(mrb_state *mrb, int i)
{ {
struct RProc *p; struct RProc *p;
mrb_callinfo *ci; mrb_callinfo *ci = mrb->c->ci;
mrb_value *self = mrb->c->stack; mrb_value *self = mrb->c->stack;
struct RObject *exc; struct RObject *exc;
int cioff; int cioff;
if (i<0) return; if (i<0) return;
if (mrb->c->ci - mrb->c->cibase > MRB_FUNCALL_DEPTH_MAX) { if (ci - mrb->c->cibase > MRB_FUNCALL_DEPTH_MAX) {
mrb_exc_raise(mrb, mrb_obj_value(mrb->stack_err)); mrb_exc_raise(mrb, mrb_obj_value(mrb->stack_err));
} }
p = mrb->c->ensure[i]; p = mrb->c->ensure[i];
if (!p) return; if (!p) return;
mrb->c->ensure[i] = NULL; mrb->c->ensure[i] = NULL;
if (mrb->c->ci->eidx > i) if (ci->eidx > i)
mrb->c->ci->eidx = i; ci->eidx = i;
cioff = mrb->c->ci - mrb->c->cibase; cioff = ci - mrb->c->cibase;
ci = cipush(mrb); ci = cipush(mrb);
ci->stackent = mrb->c->stack; ci->stackent = mrb->c->stack;
ci->mid = ci[-1].mid; ci->mid = ci[-1].mid;
...@@ -1060,7 +1060,6 @@ RETRY_TRY_BLOCK: ...@@ -1060,7 +1060,6 @@ RETRY_TRY_BLOCK:
/* A B C R(A) := uvget(B,C) */ /* A B C R(A) := uvget(B,C) */
mrb_value *regs_a = regs + GETARG_A(i); mrb_value *regs_a = regs + GETARG_A(i);
int up = GETARG_C(i); int up = GETARG_C(i);
struct REnv *e = uvenv(mrb, up); struct REnv *e = uvenv(mrb, up);
if (!e) { if (!e) {
......
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