diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-29 14:05:40 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-29 14:05:40 +0000 |
| commit | 11a0688b91a827eb75a0760f445d15dc9b55d116 (patch) | |
| tree | 80aa6c44314c4854b4ac8d2f2a288bce08e0cd96 /parse.y | |
| parent | 54b917834310b304611f1d8f2d123768922bb929 (diff) | |
| download | ruby-11a0688b91a827eb75a0760f445d15dc9b55d116.tar.gz ruby-11a0688b91a827eb75a0760f445d15dc9b55d116.tar.xz ruby-11a0688b91a827eb75a0760f445d15dc9b55d116.zip | |
* parse.y: use ARGSPUSH instead of ARGSCAT to prevent too much
splat expansion.
* eval.c (when_check): need to handle ARGSPUSH as well.
* eval.c (block_orphan): lambda and proc from method are always
orphan.
* gc.c (gc_mark_children): proper marking for NODE_BLOCK_PASS and
NODE_LAMBDA.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7291,7 +7291,7 @@ arg_append(NODE *node1, NODE *node2) node1->nd_head = arg_append(node1->nd_head, node2); return node1; default: - return NEW_ARGSCAT(node1, node2); + return NEW_ARGSPUSH(node1, node2); } } |
