summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
AgeCommit message (Collapse)Author
2013-03-17remove disused check codeFUKUZAWA-Tadashi
2013-03-17implement literal %W %w %sFUKUZAWA-Tadashi
refactor string parsing
2013-03-17remove bit-shift operation.Kurebayashi, Takahiro
2013-03-14Add break to default case in switch statementkano4
2013-03-14Merge pull request #997 from monaka/pr-add-type-mrb_bool_tYukihiro "Matz" Matsumoto
Define mrb_bool_t.
2013-03-14symbol length make size_t from mrb_int; cancel #993 ↵Yukihiro Matz Matsumoto
monaka/pr-cleanup-symbol.c-20130312
2013-03-14Define type mrb_bool. It is typedef-ed to _Bool on C99, unsigned int on MSVC.Masaki Muranaka
It is safer than applying 1bit bit-fields to signed int. For forward compatibility, you should substiture only 1 or 0 for the variable typed mrb_bool.
2013-03-09OP_ARRAY may overflow ARG_CYukihiro Matz Matsumoto
2013-03-05skip empty OP_STRCATYukihiro Matz Matsumoto
2013-03-05proper irep pool duplication check for stringsYukihiro Matz Matsumoto
2013-03-05save/restore arena index for each codedump iterationYukihiro Matz Matsumoto
2013-03-04Merge branch 'heredoc' of https://github.com/FUKUZAWA-Tadashi/mruby into ↵Yukihiro Matz Matsumoto
FUKUZAWA-Tadashi-heredoc
2013-03-03Merge pull request #931 from matsumoto-r/fix_some_indentsYukihiro "Matz" Matsumoto
Adjust some indents
2013-03-03implement heredocFUKUZAWA-Tadashi
2013-03-03Remove trailing whitespaces. This is just a cosmetic change.Masaki Muranaka
2013-03-02Adjust some indentsMATSUMOTO Ryosuke
2013-03-02string interpolation in regexYukihiro Matz Matsumoto
2013-02-26Merge pull request #899 from masamitsu-murase/modify_stack_position_of_methodYukihiro "Matz" Matsumoto
Modify stack position of NODE_DEF and NODE_SDEF.
2013-02-26Merge pull request #898 from masamitsu-murase/modify_return_valueYukihiro "Matz" Matsumoto
Modify handling of NODE_RETURN and NODE_NEXT.
2013-02-27Modify stack position of NODE_DEF and NODE_SDEF.Masamitsu MURASE
2013-02-27Return nil if argument of NODE_RETURN and NODE_NEXT is not specified.Masamitsu MURASE
2013-02-26Clean code up.Masaki Muranaka
2013-02-24Merge pull request #881 from masamitsu-murase/make_op_assign_fasterYukihiro "Matz" Matsumoto
Make OP_ASGN faster.
2013-02-25Adjust stack position of NODE_RESCUE.Masamitsu MURASE
2013-02-24Make OP_ASGN faster.Masamitsu MURASE
I think that `*=` and `/=` can be compiled to `OP_MUL` and `OP_DIV`.
2013-02-22Call compile method to override to memolize instancesmattn
2013-02-22Fix indentmattn
2013-02-21compile /a/ as ::Regexp.new("a")Yukihiro Matz Matsumoto
2013-02-18vars must be declared at the start of a blockCremno
2013-02-15ready to pass second argument of Regexp.newmattn
2013-02-15Should be OP_LOADLmattn
2013-02-15Pluggable Regexpmattn
2013-02-03Modify handling of integer literal.Masamitsu MURASE
Do not assume that significand of `double` is larger than `mrb_int`.
2013-01-27Merge pull request #786 from carsonmcdonald/unsignedfixesYukihiro "Matz" Matsumoto
Fixes a number of "comparison between signed and unsigned" warnings.
2013-01-27Removed tests that look outdated. The mrb_compile_string they use is gone now.Carson McDonald
2013-01-27Fixes a number of "comparison between signed and unsigned" warnings.Carson McDonald
2013-01-20Modify handling of NODE_UNDEF to accept multiple arguments.Masamitsu MURASE
2013-01-16wrong condiiton in too many symbols check; #close #731Yukihiro Matz Matsumoto
2013-01-13more aggressive code elimination for NODE_DOT{2,3}Yukihiro Matz Matsumoto
2013-01-13eliminate unused hash expression more aggresivelyYukihiro Matz Matsumoto
2013-01-13eliminate unused array expression more aggresivelyYukihiro Matz Matsumoto
2013-01-10jump address error when value taken from if statement without else clause; ↵Yukihiro Matz Matsumoto
close #712
2013-01-06`unless` without `else` should return nil if the condition is true.Masamitsu MURASE
2013-01-06Modify NODE_IF handling.Masamitsu MURASE
When "unless" is used without "else", tree->cdr->car of NODE_IF is NULL. In this case, pop() should not be called because codegen generates no code.
2012-12-28minor cosmetic change after #676Yukihiro Matz Matsumoto
2012-12-28fix correct stack postion for headless caseskandhas
2012-12-28wrong stack position for headless case; close #675Yukihiro Matz Matsumoto
2012-12-22should copy lineno info to child scopeYukihiro Matz Matsumoto
2012-12-18codedump should print relative offset for irep in OP_LAMBDAYukihiro Matz Matsumoto
2012-12-12Call mrb_gc_arena_save/mrb_gc_arena_restore instead of manipulating arena ↵Lian Cheng
index directly