Save the register value in a local variable for ease of debugging.

parent 988e2ced
......@@ -1185,7 +1185,9 @@ RETRY_TRY_BLOCK:
CASE(OP_RAISE) {
/* A raise(R(A)) */
mrb_exc_set(mrb, regs[GETARG_A(i)]);
int a = GETARG_A(i);
mrb_exc_set(mrb, regs[a]);
goto L_RAISE;
}
......
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