summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
AgeCommit message (Collapse)Author
2012-07-28more peephole optimization on OP_MOVEYukihiro Matsumoto
2012-07-19replace strcpy by memcpy; close #383Yukihiro Matsumoto
2012-07-16case should care about return value; close #372Yukihiro Matsumoto
2012-07-14Remove unnecessary header inclusionJunji Sawada
2012-07-13allow DISABLE/ENABLE_SATDIOYukihiro Matsumoto
2012-07-13add missing (empty) default for swtch; close #364Yukihiro Matsumoto
2012-07-13remove comma from OP_ERRYukihiro Matsumoto
2012-07-05prepare for OP_TAILCALLYukihiro Matsumoto
2012-07-04add input check to readint_float()Yukihiro Matsumoto
2012-07-04input cast to unsigned char for unqualified tolower(); close #342Yukihiro Matsumoto
2012-06-28allow string interpolation in symbols like :"a=#{15}"Yukihiro Matsumoto
2012-06-27Use sizeof to get char array sizes.Masaki Muranaka
2012-06-23reduce calling mrb_str_new_cstr() to avoid strlen(); #301Yukihiro Matsumoto
2012-06-21forgot to rename function mrb_sym2name -> mrb_sym2name_lenYukihiro Matsumoto
2012-06-21reduce calling of strlen(); #301Yukihiro Matsumoto
2012-06-21Simplify. Should not use strlen() as possible. It needs complexity.Masaki Muranaka
2012-06-15escape codedump strings/symbolsYukihiro Matsumoto
2012-06-15Remove some redundant code.Masaki Muranaka
2012-06-14BLKPUSH (and super) need to detect surrounding method scope (not block)Yukihiro Matsumoto
2012-06-14need to adjust register pos after rescueYukihiro Matsumoto
2012-06-14use MKOP_sBx for OP_JMPYukihiro Matsumoto
2012-06-13stop using strtol (via readint) except in load.c; use custom readint_floatYukihiro Matsumoto
2012-06-13readint() returns longYukihiro Matsumoto
2012-06-13handle number literal overflowYukihiro Matsumoto
2012-06-13generate optimized OP_DIV instructionYukihiro Matsumoto
2012-06-12replace * and == by optimization instructions OP_MUL and OP_EQ respectively; ↵Yukihiro Matsumoto
close #264
2012-06-12should handle splat in super argumentsYukihiro Matsumoto
2012-06-11zsuper should respect block given; close #185Yukihiro Matsumoto
2012-06-04remove mrb_open NULL check for small test programs. They are only for ↵Yukihiro Matsumoto
proof-on-concept test, not production code. Adding precise checks are not needed for those code
2012-06-03Check mrb_open return value for NULLJon
2012-06-03A rescue clause with no parameter list rescues only StandardErrorsKazuki Tsujimoto
2012-06-02Use "if" instead "switch".Masaki Muranaka
2012-06-01OP_RETURN operand should be stack position of the new scope, not the current ↵Yukihiro Matsumoto
scope
2012-05-31allow ||= and &&=Yukihiro Matsumoto
2012-05-26clear arena_idx after exiting scope; close #195Yukihiro Matsumoto
2012-05-24wrong number of arguments for self-assignmentsYukihiro Matsumoto
2012-05-22change example code to do mrb_close()Mitchell Blank Jr
I was hoping this would cause valgrind to complain less, but there is still a lot of memory leaked (does mrb_close() actually free all of the managed blocks?) Anyway this helps somewhat and is good practice
2012-05-19C++ compilability - don't define types inside othersMitchell Blank Jr
The following is legal code in both C and C++: struct foo { struct bar { int a } x; int y; }; ...however in C++ it defines a type called "foo::bar" instead of "bar". Just avoid this construct altogether
2012-05-19remove dependency to node.h and pool.hYukihiro Matsumoto
2012-05-18move compile.h to mruby/compile.hYukihiro Matsumoto
2012-05-17add cast to remove warning; close #154Yukihiro Matsumoto
2012-05-17no SEGV for nth_ref & back_ref; close #152Yukihiro Matsumoto
2012-05-10mrb_run to return last evaluated valueYukihiro Matsumoto
2012-05-05Remove debug messageKazuki Tsujimoto
2012-04-30rm whitespaceroco
2012-04-24move header files {irep,dump,cdump,ritehash}.h to /include/mrubyYukihiro Matsumoto
2012-04-23add file headermimaki
2012-04-20add mruby sourcesmimaki