summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
AgeCommit message (Expand)Author
2012-09-04fix out-of-bound access on compiling empty blocks.Tomoyuki Sahara
2012-09-03do no generate lineno info if no filename is specifiedYukihiro Matsumoto
2012-09-03remove memleaks using linked allocatorYukihiro Matsumoto
2012-09-03remove OP_LOADNIL before OP_SEND by introducing OP_SENDB (send with block)Yukihiro Matsumoto
2012-09-03peephole optimization to generatio OP_ADDI/OP_SUBIYukihiro Matsumoto
2012-08-31source position added to exception representationYukihiro Matsumoto
2012-08-31save debugging lineno info in irepYukihiro Matsumoto
2012-08-29remove flags from irepYukihiro Matsumoto
2012-08-28close pool in toplevel scopeYukihiro Matsumoto
2012-08-22file/line info passed to codegen; argument type of mrb_generate_code() has ch...Yukihiro Matsumoto
2012-08-13use TRUE/FALSE instead of 1/0Yukihiro Matsumoto
2012-08-10optimize assignment just before OP_RETURNYukihiro Matsumoto
2012-08-05remove OP_MOVE just before OP_RETURNYukihiro Matsumoto
2012-08-02use mrb_obj_equal to check poolYukihiro Matsumoto
2012-08-02small return optimization: use R0 to set return value if possibleYukihiro Matsumoto
2012-08-02wrong return value from empty block/lambdaYukihiro Matsumoto
2012-08-02remove OP_LOADNIL from NODE_OP_ASGNYukihiro Matsumoto
2012-08-01no OP_LOADNIL for operators (OP_ADD, etc)Yukihiro Matsumoto
2012-08-01too much peephole optimizationYukihiro Matsumoto
2012-08-01float do not have enough precision to represent Fixnum if MRB_USE_FLOAT is setYukihiro Matsumoto
2012-07-31codegen optimization based on http://d.hatena.ne.jp/mirichi/20120730/p1 [Japa...Yukihiro Matsumoto
2012-07-29Make all(?) void casts explicit for C++Max Anselm
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
2012-06-12should handle splat in super argumentsYukihiro Matsumoto
2012-06-11zsuper should respect block given; close #185Yukihiro Matsumoto