summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
AgeCommit message (Collapse)Author
2013-11-19irep->pool struct pool -> mrb_valueMiura Hideki
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
2013-07-122.Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func.Jun Hiroe
2013-05-26Add MRB_WORD_BOXING mode (represent mrb_value as a word)kimu_shu
2013-05-25fixed a bug in initializing post mandatory block parametersYukihiro "Matz" Matsumoto
2013-05-24fiber do not work on MRB_NAN_BOXINGYukihiro "Matz" Matsumoto
2013-05-23manage fiber status (create|running|resumed|terminated)Yukihiro "Matz" Matsumoto
2013-05-23should have protected the return value from GC, even when the method is ↵Yukihiro "Matz" Matsumoto
defined in Ruby; close #1263
2013-05-21remove unnecessary assignmentYukihiro "Matz" Matsumoto
2013-05-21error in initializing callinfo stack in cipush(); close #1261Yukihiro "Matz" Matsumoto
2013-05-20avoid unnecessary pool/syms restorationYukihiro "Matz" Matsumoto
2013-05-20primary mruby fiber implementationYukihiro "Matz" Matsumoto
2013-05-10Rename parameter names for mrb_yieldKeita Obo
2013-04-29Revert file access mode to 0644.Masaki Muranaka
2013-04-28add extern funcs declaration and casts for cimpiling C++ compilerarton
2013-04-24Fix wrong commenttomykaira
2013-04-22ensure clause should be executed only once; close #1185Yukihiro "Matz" Matsumoto
2013-04-22should call ensure before popping callinfo; cancel 8ce1ea84Yukihiro "Matz" Matsumoto
2013-04-21Use mrb_aspec instead of int32_t. As it will clarify what is doing.Masaki Muranaka
2013-04-20put spaces after if/whileYukihiro "Matz" Matsumoto
2013-04-17rollback stack before executing ensure clause.Tomoyuki Sahara