Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-31 | Keep unused literal nodes | yui-knk | |
For static analysis, it’s better to keep unused literal nodes. If simply change `block_append` to fall through, both "unused literal ignored" and "possibly useless use of a literal in void context" warnings are shown for the same line. But it’s verbose then remove "unused literal ignored" warning. This kind of optimization is already implemented on compile.c. `compile_block` calls `iseq_compile_each0` with `popped = 1` when NODE_BLOCK has next. | |||
2023-10-30 | Embed `rb_args_info` in `rb_node_args_t` | Nobuyoshi Nakada | |
2023-10-26 | [Bug #19973] Warn duplicated keyword arguments after keyword splat | Nobuyoshi Nakada | |
2023-10-25 | Removed unused argument | Nobuyoshi Nakada | |
Eventually, `read_escape` does not use `encp`. | |||
2023-10-23 | Use named reference for dyna_push | Nobuyoshi Nakada | |
2023-10-23 | Extract p_in_kwarg to save and update lexer contexts | Nobuyoshi Nakada | |
2023-10-23 | Move push_pvtbl and push_pktbl in nterms | Nobuyoshi Nakada | |
2023-10-23 | Extract p_assoc and p_in to save lexer contexts | Nobuyoshi Nakada | |
2023-10-20 | Expand OP_ASGN1 nd_args to nd_index and nd_rvalue | yui-knk | |
ARGSCAT has been used for nd_args to hold index and rvalue, because there was limitation on the number of members for Node. We can easily change structure of node now, let's expand it. | |||
2023-10-15 | Remove not used fields from STR | yui-knk | |
2023-10-15 | Check node type before accessing nd_next | yui-knk | |
This is also a preparation for removing not_used members from STR NODE. Current codes work without node type check because NODE_STR has not_used2 member corresponding to nd_next of NODE_LIST and NODE_DSTR. However it causes problme once not_used members are removed from NODE_STR. | |||
2023-10-15 | Stop updating node type from NODE_STR to NODE_DSTR | yui-knk | |
This is a preparation for removing not_used members from STR NODE. Once not_used members are removed from STR NODE, STR NODE is smaller than DSTR NODE. Therefore allocate NODE_DSTR instead of reusing NODE_STR. | |||
2023-10-15 | Remove not used fields from XSTR | yui-knk | |
2023-10-15 | Remove not used fields from LIT | yui-knk | |
2023-10-14 | Fix node type casts | yui-knk | |
Use new node type set by nd_set_type. | |||
2023-10-14 | Delete heredoc line mark references | Nobuyoshi Nakada | |
2023-10-14 | Shorten `rb_strterm_literal_t` members | Nobuyoshi Nakada | |
2023-10-14 | Manage `rb_strterm_t` without imemo | Nobuyoshi Nakada | |
2023-10-14 | Remove unions in `rb_strterm` structs for alignment | Nobuyoshi Nakada | |
2023-10-13 | [Bug #19919] Warn class variable assignment and constant declaration in ↵ | yui-knk | |
condition | |||
2023-10-13 | Use `lex_eol` macros | Nobuyoshi Nakada | |
2023-10-13 | [Bug #19924] Source code should be unsigned char stream | Nobuyoshi Nakada | |
Use `peekc` or `nextc` to fetch the next character, instead of reading from `lex.pcur` directly, for compilers that plain char is signed. | |||
2023-10-11 | Extract NODE_FL_NEWLINE access to macro | yui-knk | |
2023-10-11 | Semicolon after `SWITCH_BY_COND_TYPE` for auto-indent [ci skip] | Nobuyoshi Nakada | |
2023-10-10 | Extract numparam nterms | Nobuyoshi Nakada | |
2023-10-10 | Use `rb_node_exits_t` instead of `NODE` | Nobuyoshi Nakada | |
2023-10-10 | Forward declaration of `struct RNode_DEF_TEMP` and its typedef | Nobuyoshi Nakada | |
2023-10-10 | Remove not used fields from DEFN | yui-knk | |
2023-10-10 | Pre-allocate `NODE_DEFN`/`NODE_DEFS` nodes | Nobuyoshi Nakada | |
To fix the order of node IDs, for typeprof tests. | |||
2023-10-10 | Refactor NODE_DEF_TEMP | Nobuyoshi Nakada | |
Use `NODE_DEF_TEMP` as the wrapper of `NODE_DEFS` in ripper, not only of `NODE_DEFN`, so that `endless_method_name` works consistently. | |||
2023-10-09 | Take care of internal node type | yui-knk | |
In parse.y, node can be NODE_DEF_TEMP or NODE_EXITS. Hit "unknown node" without taking care of them. For example `ruby --dump=y lib/cgi/util.rb` causes "[BUG] unknown node: 107". | |||
2023-10-08 | Remove not used fields from EVSTR | yui-knk | |
2023-10-07 | Remove not used fields from asgn nodes | yui-knk | |
2023-10-07 | Correctly casting node for accessing nd_value and nd_vid in parse.y | yui-knk | |
2023-10-07 | Pass nd_value to NODE_REQUIRED_KEYWORD_P | yui-knk | |
2023-10-07 | Use rb_node_masgn_t instead of NODE | yui-knk | |
2023-10-06 | Remove not used fields from MATCH3 | yui-knk | |
2023-10-06 | Remove not used fields from YIELD | yui-knk | |
2023-10-06 | Remove not used fields from ZLIST | yui-knk | |
2023-10-06 | Remove `NODE_VALUES` | Nobuyoshi Nakada | |
This node type was added for the multi-value experiment back in 2004. The feature itself was removed after a few years, but this is its remnant. | |||
2023-10-05 | Chain nodes to exit only | Nobuyoshi Nakada | |
2023-10-05 | Do not chain unexpected node | Nobuyoshi Nakada | |
2023-10-05 | Remove unused nodes in NODE_RETURN and NODE_REDO | Nobuyoshi Nakada | |
2023-10-05 | Move internal NODE_DEF_TEMP to parse.y | Nobuyoshi Nakada | |
2023-10-05 | Remove not used fields from colon nodes | yui-knk | |
2023-10-05 | Fix cast type | yui-knk | |
2023-10-04 | Remove not used fields from variable nodes | yui-knk | |
2023-10-02 | `yield` cannot be placed outside methods even in blocks | Nobuyoshi Nakada | |
2023-10-02 | Include new node types into %printer | yui-knk | |
2023-10-02 | Remove not used fields from call nodes | yui-knk | |