summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
AgeCommit message (Expand)Author
2017-05-25Revert "Use env preserved in Proc structure in ecall(); fix #3612"Yukihiro "Matz" Matsumoto
2017-05-25Invoke ensure clauses before switching context from fibers; fix #3662Yukihiro "Matz" Matsumoto
2017-05-25Clear top level env in `mrb_top_run()`; fix #3643Yukihiro "Matz" Matsumoto
2017-05-25Avoid unsharing stack if env refers top-level; ref #3643Yukihiro "Matz" Matsumoto
2017-05-25Check env stack length before `OP_SETUPVAR`; ref #3643Yukihiro "Matz" Matsumoto
2017-05-25Avoid using `mrb_raise()` in `mrb_vm_exec()`; ref #3660Yukihiro "Matz" Matsumoto
2017-05-25Preserve the current pc before `method_missing()`; fix #3660Yukihiro "Matz" Matsumoto
2017-05-23Simplify backtrace mechanism; fix #3633 #3634 #3644Yukihiro "Matz" Matsumoto
2017-04-25Avoid duplicated `envadjust()` of env stacks; fix #3637Yukihiro "Matz" Matsumoto
2017-04-24Revert "Simplify pointer calculation in `envadjust`."Tomasz Dąbrowski
2017-04-22Small cosmetic changes.Yukihiro "Matz" Matsumoto
2017-04-22Use env preserved in Proc structure in ecall(); fix #3612Yukihiro "Matz" Matsumoto
2017-04-22Keep reference to mrb_context from env; fix #3619Yukihiro "Matz" Matsumoto
2017-04-21Simplify pointer calculation in `envadjust`.Yukihiro "Matz" Matsumoto
2017-04-21Fixed a possible memory leak.Yukihiro "Matz" Matsumoto
2017-04-21VM stack may be reallocated in `mrb_convert_type()`; fix #3622Yukihiro "Matz" Matsumoto
2017-04-20Do not raise an exception for living closure; ref #3359Yukihiro "Matz" Matsumoto
2017-04-19Use trampoline technique for `instance_exec`; ref #3359Yukihiro "Matz" Matsumoto
2017-04-19Need to raise "break from proc-closure" error; fix #3359 fix #3495Yukihiro "Matz" Matsumoto
2017-04-19Fixed a bug caused by last minute change; fix #3610Yukihiro "Matz" Matsumoto
2017-04-18Call envadjust() before updating VM stack.Yukihiro "Matz" Matsumoto
2017-04-18`super` may call context switching method like `send`; fix #3611Yukihiro "Matz" Matsumoto
2017-04-18Add "no super" check to OP_ARGARY; fix #3610Yukihiro "Matz" Matsumoto
2017-04-12Let 'mrb_vm_run()` to restore the calling fiber; ref #3537Yukihiro "Matz" Matsumoto
2017-04-12Should not unshare env stack repeatedly; fix #3601Yukihiro "Matz" Matsumoto
2017-04-12`method_missing` might have updated stack beyond boundary; fix #3599Yukihiro "Matz" Matsumoto
2017-04-12Exceptions may be raised in yyparse(); fix #3600Yukihiro "Matz" Matsumoto
2017-04-10Protect arguments from GC; fix #3597Yukihiro "Matz" Matsumoto
2017-04-10Callinfo may be changed in `ecall()`; fix #3589Yukihiro "Matz" Matsumoto
2017-04-10Avoid clearing VM stack every time to gain performance.Yukihiro "Matz" Matsumoto
2017-04-10Fill omitted arguments by nil for non-strict Proc.Yukihiro "Matz" Matsumoto
2017-04-10Clear local (but non-argument) variables in OP_ENTER.Yukihiro "Matz" Matsumoto
2017-04-08Avoid updating regs[] from function calls; ref #3588Yukihiro "Matz" Matsumoto
2017-04-08Attach a name to embbeded value of rescue/ensure stack sizeKouichi Nakanishi
2017-04-05Save block argument position in e->cioff; fix #3593Yukihiro "Matz" Matsumoto
2017-04-05Fixed a bug in OP_SUPER block conversion; fix #3590Yukihiro "Matz" Matsumoto
2017-04-05Fixed a bug when method_missing take 126 args; fix #3592Yukihiro "Matz" Matsumoto
2017-04-05Use stderr for debug prints in DEBUG(); fix #3584Yukihiro "Matz" Matsumoto
2017-04-03Fixed out-of-bounds access of `ensure[]`; ref #3491Yukihiro "Matz" Matsumoto
2017-04-03Protect ensure clause lambdas from GC; fix #3491Yukihiro "Matz" Matsumoto
2017-04-03Remove spaces around parensYukihiro "Matz" Matsumoto
2017-04-03Update callinfo->target_class in mrb_exec_irep(); fix #3543Yukihiro "Matz" Matsumoto
2017-04-01Extend VM stack just in case; ref #3551Yukihiro "Matz" Matsumoto
2017-04-01Should not shrink VM stack; fix #3551Yukihiro "Matz" Matsumoto
2017-04-01The stack may be reallocated in the func call; fix #3560Yukihiro "Matz" Matsumoto
2017-04-01Expand stack for method_missing; fix #3528Yukihiro "Matz" Matsumoto
2017-03-19OP_RESCUE refactored; ref #3519Yukihiro "Matz" Matsumoto
2017-03-19Check call depth when mrb_yield_class() is called; ref #3521Yukihiro "Matz" Matsumoto
2017-03-19Update stack only when callinfo is popped; fix #3521Yukihiro "Matz" Matsumoto
2017-03-18Fixed access of uninitialized C local variable; fix #3525Yukihiro "Matz" Matsumoto