summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
AgeCommit message (Expand)Author
2014-11-23align indent of local variable names in codedump()Yukihiro "Matz" Matsumoto
2014-11-22should support recursive mlhs decomposition, e.g. (a,b),c = [1,2],3Yukihiro "Matz" Matsumoto
2014-10-28Refactor for_body funcJun Hiroe
2014-09-08fixed wandering filename problemYukihiro "Matz" Matsumoto
2014-09-03get rid of shadowing variablescremno
2014-08-29more OP_MOVE swap detection in peephole optimizationYukihiro "Matz" Matsumoto
2014-08-29allow no_optimize esp. for debuggerYukihiro "Matz" Matsumoto
2014-08-29Fix mismatches for MRB_API declarations.Tatsuhiko Kubo
2014-08-27Add a missing space after ",".Tatsuhiko Kubo
2014-08-26printf: cast variables to the expected typecremno
2014-08-20should use non NULL scope for raise_error(); ref #2547Yukihiro "Matz" Matsumoto
2014-08-20Fix allocation-error-handlings for scope_new().Tatsuhiko Kubo
2014-08-20Use specified macro(NULL) instead of magic-number.Tatsuhiko Kubo
2014-08-18refactor mruby method(fix indent. remove temporary value, duplicate procedure)kkkkkt
2014-07-09invalid base shouldn't silently failcremno
2014-06-13Using 'mrb_assert' instead of an returning 0 while checking s->irep in codege...Jose Narvaez
2014-06-13Revert "Fixed dereference to null pointer in 'codegen.c' reported by 'clang-a...Jose Narvaez
2014-06-13Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer'Jose Narvaez
2014-06-13Fixed dereference to null pointer in 'codegen.c' reported by 'clang-analyzer'Jose Narvaez
2014-06-13Fixed possible division by zero in 'codegen.c' reported by 'clang-analyzer'Jose Narvaez
2014-06-10reserve a register for a block parameter in a for statement body; ref #2375Yukihiro "Matz" Matsumoto
2014-06-10NODE_FOR does not introduce new local variablesYukihiro "Matz" Matsumoto
2014-06-09codedump should display proper L(n) for OP_STRING opYukihiro "Matz" Matsumoto
2014-05-16register<nlocals may not have a local variable name (e.g. a block arg); fix #...Yukihiro "Matz" Matsumoto
2014-05-14print_r() and print_lv() should only be compiled in for ENABLE_STDIOMitchell Blank Jr
2014-05-14mv opcode.h -> include/mruby/opcode.h and remove duplication from mruby-eval gemYukihiro "Matz" Matsumoto
2014-05-14resize register number in LVAR section from 32bits to 16bitsYukihiro "Matz" Matsumoto
2014-05-14Merge branch 'dump_lv' of https://github.com/take-cheeze/mruby into take-chee...Yukihiro "Matz" Matsumoto
2014-05-13Remove unnecessary newline in `OP_GETGLOBAL` codedump.take_cheeze
2014-04-29Remove `lv_len` and use `nlocals - 1` instead.take_cheeze
2014-04-29Support local variables information dumping.take_cheeze
2014-04-29indent codedump when file/line info is not available; ref #2147Yukihiro "Matz" Matsumoto
2014-04-28Use int32_t as line variable type.take_cheeze
2014-04-28Print file name and line number in codedump if available.take_cheeze
2014-04-28fix OP_BLKPUSH dump formatYukihiro "Matz" Matsumoto
2014-04-28prevent printf warningYukihiro "Matz" Matsumoto
2014-04-28better codedump formattingYukihiro "Matz" Matsumoto
2014-04-28presreve local variables names in irep->lvYukihiro "Matz" Matsumoto
2014-04-27rename `mrb_str_buf_append` to `mrb_str_cat_str`cremno
2014-04-27NODE_SUPER should preserve stack region for block; ref #2136Yukihiro "Matz" Matsumoto
2014-04-27NODE_DEF should preserve stack region for lambda; ref #2136Yukihiro "Matz" Matsumoto
2014-04-26area of implicit nil is not enough to nregsmirichi
2014-04-26bit more peephole optimization for NODE_LVARYukihiro "Matz" Matsumoto
2014-04-26Merge branch 'master' of github.com:mruby/mrubyYukihiro "Matz" Matsumoto
2014-04-26should use plain int for index, since i may be printed using %d; close #2127Yukihiro "Matz" Matsumoto
2014-04-26Merge pull request #2118 from ksss/range-boolYukihiro "Matz" Matsumoto
2014-04-25better integer size assertion suggested by usakYukihiro "Matz" Matsumoto
2014-04-25eliminate plain int except for a few cases like arena_indexYukihiro "Matz" Matsumoto
2014-04-25remove -Wsign-compare warningsYukihiro "Matz" Matsumoto
2014-04-24mrb_range_new excl flag use mrb_bool insteard of intksss