Project

General

Profile

« Previous | Next » 

Revision fb7a2ddb

Added by yui-knk (Kaneko Yuichiro) almost 2 years ago

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.