summaryrefslogtreecommitdiffhomepage
path: root/src/codedump.c
AgeCommit message (Collapse)Author
2019-09-26Fixed `codedump` for human readable symbol format; ref #4684Yukihiro "Matz" Matsumoto
2019-09-25Rename symbol-to-string functions; close #4684Yukihiro "Matz" Matsumoto
* mrb_sym2name -> mrb_sym_name * mrb_sym2name_len -> mrb_sym_name_len * mrb_sym2str -> mrb_sym_str
2019-08-18Prohibit changes to iseq in principledearblue
2019-04-22Use `MRB_ASPEC_XXX()` macro in `codedump()`KOBAYASHI Shuji
2019-04-01Avoid keeping pointers from `mrb_sym2name_len()`; fix #4342Yukihiro "Matz" Matsumoto
The addresses for packed inline symbols reference `mrb->symbuf` that could be overridden by the later call of `mrb_sym2name_len`. Since file names in call stack information are kept as symbols, keeping the address in the C structures could cause problems like #4342. This changes small incompatible changes in function prototypes: * `mrb_parser_get_filename`: return value changed to `mrb_sym`. * `mrb_debug_get_filename`: add `mrb_state*` as a first argument. * `mrb_debug_get_line`: ditto. I believe above functions are almost internal, and no third-party mrbgem use them.
2019-03-02Print length of the `iseq` in code dump header; fix #4304Yukihiro "Matz" Matsumoto
2018-11-19Adjust codedump output format; ref #4166Yukihiro "Matz" Matsumoto
2018-10-29Fix codedumpertake-cheeze
2018-09-07Clear terminated spacedearblue
2018-08-29Simplified `#ifdef` nesting in `codedump.c`; fix #4089Yukihiro "Matz" Matsumoto
`printf()` and related functions should not be called when `MRB_DISABLE_STDIO` is defined.
2018-08-25Reduce integer casting warnings.Yukihiro "Matz" Matsumoto
2018-08-25Hash splat `**` should not be ignored.Yukihiro "Matz" Matsumoto
Implemented by adding `OP_HASHCAT` that merges hashes.
2018-07-31Removed unused instruction: `OP_KDICT`.Yukihiro "Matz" Matsumoto
2018-07-30Keyword argument implemented.Yukihiro "Matz" Matsumoto
2018-07-30New bytecode implementation of mruby VM.Yukihiro "Matz" Matsumoto
2017-12-15Check if destinations are too distant; fix #3900 fix #3901Yukihiro "Matz" Matsumoto
2017-10-28Format codedump for OP_{LE,LT,GE,GT}.Yukihiro "Matz" Matsumoto
2017-09-29`codedump` to display `OP_CALL`.Yukihiro "Matz" Matsumoto
2017-08-12Reduce integer type mismatch warnings in VC.Yukihiro "Matz" Matsumoto
2017-05-26Distinguish OP_R_NORMAL and OP_R_RETURN.Yukihiro "Matz" Matsumoto
2017-04-18Make `mrb_codedump_all()` to print type of Proc.Yukihiro "Matz" Matsumoto
2017-03-12Enhance OP_RESCUE to take B operand fas matching exception; ref #3487Yukihiro "Matz" Matsumoto
2017-02-08codedump.c: OP_POPERR does not have register access.Yukihiro "Matz" Matsumoto
2016-02-22cosmetic change for OP_EQYukihiro "Matz" Matsumoto
2016-02-05[cppcheck] remove duplicated breakYukihiro "Matz" Matsumoto
2015-11-27include changed from by quotes ("") to by brackets (<>); close #3032Yukihiro "Matz" Matsumoto
2015-11-17DISABLE_STDIO/ENABLE_DEBUG macros to rename; close #3014Yukihiro "Matz" Matsumoto
changes: * rename DISABLE_STDIO -> MRB_DISABLE_STDIO * rename ENABLE_DEBUG -> MRB_ENABLE_DEBUG_HOOK * no more opposite macro definitions (e.g. ENABLE_STDIO, DISABLE_DEBUG). * rewrite above macro references throughout the code. * update documents
2015-10-22align codedump output for OP_JMPYukihiro "Matz" Matsumoto
2015-10-22align codedump output for OP_RETURNYukihiro "Matz" Matsumoto
2015-05-23Move `mrb_codedump_all` to "src/codedump.c".take_cheeze
Related to #2760.