Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directly free structure managed by imemo tmpbuf #8493

Merged

Commits on Sep 21, 2023

  1. Directly free structure managed by imemo tmpbuf

    NODE_ARGS, NODE_ARYPTN, NODE_FNDPTN manage memory of their
    structure by imemo tmpbuf Object.
    However rb_ast_struct has reference to NODE. Then these
    memory can be freed directly when rb_ast_struct is freed.
    
    This commit reduces parser's dependency on CRuby functions.
    yui-knk committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    e8efbdf View commit details
    Browse the repository at this point in the history