summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
AgeCommit message (Collapse)Author
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2014-01-05need not to initialize ci->err at toplevelYukihiro "Matz" Matsumoto
2014-01-05avoid decrimenting eidx out of ecall()Yukihiro "Matz" Matsumoto
2014-01-05execute ensure clause correctly without OP_EPOPh2so5
2014-01-04pop ensure stack before execution; close #1638Yukihiro "Matz" Matsumoto
2014-01-04always clear ci->errYukihiro "Matz" Matsumoto
2014-01-04quicker release of arena after ensure callsYukihiro "Matz" Matsumoto
2014-01-03use macros for assignments to ci->errh2so5
2013-12-15Fixed callinfo buffer overflow while calling ensure handlersnanami
2013-12-05remove unnecessary keep size adjustment in stack_extend_alloc(); close #1602Yukihiro "Matz" Matsumoto
2013-12-01Merge pull request #1600 from take-cheeze/mrb_intern_litYukihiro "Matz" Matsumoto
Proposal of mrb_intern_lit macro.
2013-12-01add mrb_intern_lit for creating symbol from string literaltake_cheeze
2013-12-01inline mrb_gc_arena_restore() and stack_extend() in VM loopYukihiro "Matz" Matsumoto
2013-11-29rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513Yukihiro "Matz" Matsumoto
2013-11-20resolve conflictYukihiro "Matz" Matsumoto
2013-11-19irep->pool struct pool -> mrb_valueMiura Hideki
2013-11-18Merge pull request #1584 from cremno/rename-mrb_exc_new3Yukihiro "Matz" Matsumoto
renamed mrb_exc_new3 to mrb_exc_new_str
2013-11-19clear ci->err after const set; revert 5b51b1; ref #1583Yukihiro "Matz" Matsumoto
2013-11-18renamed mrb_exc_new3 to mrb_exc_new_strcremno
- more descriptive name (there's no mrb_exc_new2) - no wrapper (macro/static inline function) for backwards compatibility because nothing besides mruby itself seems to be calling this function: <http://mruby-code-search.ongaeshi.me/home?query=mrb_exc_new3>
2013-11-18check upper callinfo to call ensure block; close #1579Yukihiro "Matz" Matsumoto
2013-11-15enum mrb_vtype varies on compile time configuration, namely MRB_NAN_BOXINGYukihiro "Matz" Matsumoto
2013-11-15remove warning on NAN_BOXINGYukihiro "Matz" Matsumoto
2013-11-07irep->pool not to be GCedYukihiro "Matz" Matsumoto
2013-11-07modified to use irep->reps to reference child ireps. preparation forYukihiro "Matz" Matsumoto
removing irep array from mrb_state. note that instructions OP_LAMBDA, OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
2013-11-03refactor mrb_context_run()fleuria
2013-11-03introduce mrb_context_run()fleuria
currently there are two scnenario to call mrb_run(), the first is calling a proc, in this case mrb should create a new environment, discarding all the variables except args, reciever and block. the second is calling the newly generated irep, like in mirb. in this case, the variables should be kept after mrb_run(). so we introduce mrb_context_run() to handle this seperately.
2013-10-31restore context status to RUNNING on automatic yield at the end of the ↵Yukihiro "Matz" Matsumoto
block; fix #1555
2013-10-30preserve only arguments on stack; fix #1527Yukihiro "Matz" Matsumoto
2013-10-16move declarations to the beginning of blocksYukihiro "Matz" Matsumoto
2013-10-15Set regs to stack on return of const_get calls before useCarson McDonald
2013-10-15better error position displayYukihiro "Matz" Matsumoto
2013-10-05simplify stack_clear()Yukihiro "Matz" Matsumoto
2013-09-26fix build error when ENABLE_DEBUG is definedAtsushi_Morimoto
2013-09-21Merge pull request #1507 from ktaobo/yield-selfYukihiro "Matz" Matsumoto
Use self for the given proc in mrb_yield
2013-09-21rename voidp to cptrYukihiro "Matz" Matsumoto
2013-09-20Use self for the given procKeita Obo
2013-08-31revert #1470; fix #1493Yukihiro "Matz" Matsumoto
2013-08-14longjmp too far when exception raised from C function called from mrb_funcall()Yukihiro "Matz" Matsumoto
2013-08-13Merge pull request #1470 from carsonmcdonald/morefixfor1467Yukihiro "Matz" Matsumoto
Tests and another fix for issue #1467
2013-08-13This check and class change is redundant because it is done in ↵Carson McDonald
class.c#mrb_include_module
2013-08-13Remove debug printfCarson McDonald
2013-08-14ci->target_class should point to ICLASS, not MODULE; close #1467Yukihiro "Matz" Matsumoto
2013-07-31move mrb_gc_arena_restore() after cipop(); a bug found by Kilo KawaiYukihiro "Matz" Matsumoto
2013-07-27Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2013-07-25refactor out longjmp() to a functionYukihiro "Matz" Matsumoto
2013-07-25replace assert with mrb_assertfleuria
2013-07-14Merge pull request #1378 from suzukaze/refactor2-vm.cYukihiro "Matz" Matsumoto
Replace 0 with FALSE and replace 1 with TRUE.
2013-07-14Replace int with mrb_bool because return a value is boolean.Jun Hiroe
2013-07-14Replace 0 with FALSE and replace 1 with TRUE.Jun Hiroe
2013-07-14Replace 0 with NULL because NULL is used in struct pointer.Jun Hiroe