summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
AgeCommit message (Collapse)Author
2014-06-13Fixed dead increment in 'dump.c' reported by 'clang-analyzer'Jose Narvaez
2014-05-22remove unnecessary assignment; ref #2301Yukihiro "Matz" Matsumoto
2014-05-21Reduce children filenames listing.take_cheeze
It is executed per each debug filenames in irep to same ireps(children).
2014-05-21Reduce filename table creation in irep dumping to once.take_cheeze
2014-05-19allow NULL (no variable) in lvar section of mrb format; fix #2294Yukihiro "Matz" Matsumoto
This fix use UINT16_MAX for NULL symbol tag, that means maximum symbol length is not UINT16_MAX-1.
2014-05-15Support `LVAR` section removing.take_cheeze
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 ↵Yukihiro "Matz" Matsumoto
take-cheeze-dump_lv
2014-05-02add namespace prefix to `dump_irep`cremno
2014-04-30Added dump_irep in header.Thiago Scalone
2014-04-29Remove `lv_len` and use `nlocals - 1` instead.take_cheeze
Check that `lv`'s length is always `nlocals - 1`.
2014-04-29Support local variables information dumping.take_cheeze
2014-04-29fix disabled stdio (and remove trailing spaces)cremno
2014-04-25better integer size assertion suggested by usakYukihiro "Matz" Matsumoto
2014-04-25remove -Wsign-compare warningsYukihiro "Matz" Matsumoto
2014-04-21Use boolean macro in is_valid_c_symbol_name()Jun Hiroe
2014-04-19Use boolean macro instead of integer literal in `is_debug_info_defined`.take_cheeze
2014-03-19remove size_t cast in mrb_assert() since ((size_t)n <= SIZE_MAX) is always trueYukihiro "Matz" Matsumoto
2014-03-18add a space after C reserved wordsYukihiro "Matz" Matsumoto
2014-03-15symbol length type to be mrb_intYukihiro "Matz" Matsumoto
2014-03-13Merge pull request #1851 from tmash06/add_include_limit_hYukihiro "Matz" Matsumoto
add including limits.h.
2014-03-13add including limits.h.tmash06
Because Android's libc(bionic) defines SIZE_MAX at limits.h.
2014-03-11don't use of anonymous unionstake_cheeze
2014-03-08Make type casts safer.Masaki Muranaka
2014-03-08convert too much from size_t to uint32_t; mrb_sym2name_len() takes size_t*Yukihiro "Matz" Matsumoto
2014-03-07reduce integer type complexity from int/size_t/uint32_t by unifying them to ↵Yukihiro "Matz" Matsumoto
uint32_t; close #1778
2014-03-01use C style comments instead of C++ style commentscubicdaiya
According to CONTRIBUTING.md, Don't use C++ style comments /* This is the prefered comment style */ Use C++ style comments only for temporary comment e.g. commenting out some code lines.
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2014-01-08dump.c: wrong filename table dump for multiple script files; close #1648Yukihiro "Matz" Matsumoto
2013-11-26move debug record size assertion to correct positiontake_cheeze
2013-11-24fix realloc errortake_cheeze
2013-11-20mrb format should be portable among configurations (e.g. MRB_NAN_BOXING)Yukihiro "Matz" Matsumoto
2013-11-20resolve conflictYukihiro "Matz" Matsumoto
2013-11-19irep->pool struct pool -> mrb_valueMiura Hideki
2013-11-18write_debug_record should dump info recursively; close #1581Yukihiro "Matz" Matsumoto
2013-11-15wrong size of filenames bufferYukihiro "Matz" Matsumoto
2013-11-15should output debug info for child ireps; close #1575Yukihiro "Matz" Matsumoto
2013-11-15should not free buffer that is still accessedYukihiro "Matz" Matsumoto
2013-11-15wrong size of filenames bufferYukihiro "Matz" Matsumoto
2013-11-15enum mrb_vtype varies on compile time configuration, namely MRB_NAN_BOXINGYukihiro "Matz" Matsumoto
2013-11-13pacify some warnings on OpenBSDYukihiro "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-09-03MSVC: compilation works again (+minor style fixes)Cremno
2013-09-02don't use RArray in filename table generatingtake_cheeze
2013-09-02declare variable outside fortake_cheeze
2013-09-02support multiple filename in ireptake_cheeze
2013-07-03Fix signed/unsigned warning, size_t for start_index was discarded.Carson McDonald
2013-07-01Fix unsigned/signed comparison.Carson McDonald
2013-05-05fix typos.crimsonwoods