summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
AgeCommit message (Expand)Author
2018-04-13No longer need to insert write barriers for fibers.Yukihiro "Matz" Matsumoto
2018-04-13The #3871 fix caused wrong `break from proc-closure` error; fix #3996Yukihiro "Matz" Matsumoto
2018-04-13Add `fallthrough` comment to silence gcc warning.Yukihiro "Matz" Matsumoto
2018-04-13Silence gcc initializer warning.Yukihiro "Matz" Matsumoto
2018-04-11Check length of env stack before accessing upvar; fix #3995Yukihiro "Matz" Matsumoto
2018-04-05Adjust environment when `mrb_exec_irep` happened.Takeshi Watanabe
2018-03-22Need to keep block argument in `mrb_exec_irep`; fix #3973Yukihiro "Matz" Matsumoto
2018-03-20Needed to set `ci->proc` in `OP_SUPER`; fix #3966Yukihiro "Matz" Matsumoto
2018-02-09Check `ensure` proc is NULL before calling; fix #3943Yukihiro "Matz" Matsumoto
2018-01-30Need not to pop `callinfo` on `OP_STOP`.Yukihiro "Matz" Matsumoto
2017-12-23`super` should raise `TypeError` when the receiver is switched; fix #3911Yukihiro "Matz" Matsumoto
2017-12-23Avoid infinite recursion in `method_missing`; ref #3908Yukihiro "Matz" Matsumoto
2017-12-23May need more stack space in `mrb_funcall_with_block`; fix #3908Yukihiro "Matz" Matsumoto
2017-12-23Should not overwrite `ci->target_class` in `mrb_exec_irep()`.Yukihiro "Matz" Matsumoto
2017-12-20Fixed method look-up for `method_missing` in OP_SUPER; ref #3905Yukihiro "Matz" Matsumoto
2017-12-20The superclass info should be taken from `TARGET_CLASS(ci->proc).Yukihiro "Matz" Matsumoto
2017-12-16Need to set `ci->proc` before calling methods; fix #3902Yukihiro "Matz" Matsumoto
2017-12-16Need to clear exception handler on `return`; fix #3898Yukihiro "Matz" Matsumoto
2017-12-13Retrieve operands at the beginning of `OP_SCLASS`.Yukihiro "Matz" Matsumoto
2017-12-07Cancel df3507660 that does not do any good.Yukihiro "Matz" Matsumoto
2017-12-07Avoid updating to reallocated stack in `OP_RETURN`; fix #3870Yukihiro "Matz" Matsumoto
2017-12-06The `ci` should not be equal to `cibase` with `OP_R_BREAK`; #3871Yukihiro "Matz" Matsumoto
2017-12-06The proc with top-level env must be 'proc-closure'; fix #3871Yukihiro "Matz" Matsumoto
2017-12-06Limit `ecall()` depth to 32 (default).Yukihiro "Matz" Matsumoto
2017-12-05Need to set `ci->proc` when we have `RProc` structure.Yukihiro "Matz" Matsumoto
2017-12-04Need to unshare env stack on `break`; fix #3866Yukihiro "Matz" Matsumoto
2017-12-04Check if `ci->proc` is not `NULL` and `MRB_PROC_CFUNC_P()`; fix #3867Yukihiro "Matz" Matsumoto
2017-12-01The stack shift width should be determined by `p->upper`; fix #3864Yukihiro "Matz" Matsumoto
2017-11-30Avoid calling `mrb_env_unshare()` when `env` is `NULL`.Yukihiro "Matz" Matsumoto
2017-11-30Avoid double free() of env stack; fix #3860Yukihiro "Matz" Matsumoto
2017-11-30Wrong stack adjustment in `ecall()` (f35f975 #3859); fix #3862Yukihiro "Matz" Matsumoto
2017-11-29Clear `c->prev` on fiber termination.Yukihiro "Matz" Matsumoto
2017-11-29Set `MRB_FIBER_TERMINATED` flag on exception termination of a fiber.Yukihiro "Matz" Matsumoto
2017-11-29Call all ensure clauses pushed at `OP_STOP`.Yukihiro "Matz" Matsumoto
2017-11-29No need to use `ecall_adjust()`.Yukihiro "Matz" Matsumoto
2017-11-29Fixed stack address adjustment in `ecall()`; fix #3859Yukihiro "Matz" Matsumoto
2017-11-29Need to evaluate ensure clauses at fiber termination.Yukihiro "Matz" Matsumoto
2017-11-29Remove unnecessary code; ref #3711Yukihiro "Matz" Matsumoto
2017-11-22Stack adjustment should be based on `p->upper`; fix #3857Yukihiro "Matz" Matsumoto
2017-11-22Clear ensure stack after calling in `OP_EPOP`; #3855 3856Yukihiro "Matz" Matsumoto
2017-11-22No need to pop ensure stack if `eidx` is smaller than `epos`; #3855 #3856Yukihiro "Matz" Matsumoto
2017-11-22fixup! Remove fixed argument of `ecall()`; ref #3855 #3856Yukihiro "Matz" Matsumoto
2017-11-22Remove fixed argument of `ecall()`; ref #3855 #3856Yukihiro "Matz" Matsumoto
2017-11-20Reduce the size of `struct RBreak` to reduce memory usage.Yukihiro "Matz" Matsumoto
2017-11-20Add `MRB_METHOD_TABLE_INLINE` option.Yukihiro "Matz" Matsumoto
2017-11-18Assign operands to local variables.Yukihiro "Matz" Matsumoto
2017-11-17Need to save stack space by number of registers from the current proc,Yukihiro "Matz" Matsumoto
2017-11-11Fixed wrong stack extend size; fix #3847Yukihiro "Matz" Matsumoto
2017-11-10Need to clear stack region for local variables in eval; fix #3844Yukihiro "Matz" Matsumoto
2017-11-09Use proper target_class to define class/module; fix #3843Yukihiro "Matz" Matsumoto