diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-23 07:10:56 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-23 07:10:56 +0000 |
| commit | fe1915792f75760cae4a29fe98ca38806b6235f9 (patch) | |
| tree | b0b1e300f1105da8124013b71adab030b9182ee8 /parse.y | |
| parent | 3ca48540a397adc35a51b75c70339219410b2b57 (diff) | |
| download | ruby-fe1915792f75760cae4a29fe98ca38806b6235f9.tar.gz ruby-fe1915792f75760cae4a29fe98ca38806b6235f9.tar.xz ruby-fe1915792f75760cae4a29fe98ca38806b6235f9.zip | |
* compile.c, insns.def, parse.y: fix massign order. This change
causes performance problem. Try vm1_swap benchmark.
[ruby-dev:31522]
* insns.def, insnhelper.ci: move process body of expandarray insn to
vm_expandarray().
* bootstraptest/test_knownbug.rb, bootstraptest/test_massign.rb:
move a solved test.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
| -rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -978,7 +978,7 @@ stmt : keyword_alias fitem {lex_state = EXPR_FNAME;} fitem { /*%%%*/ value_expr($3); - $1->nd_value = ($1->nd_head) ? NEW_TO_ARY($3) : NEW_ARRAY($3); + $1->nd_value = $3; $$ = $1; /*% $$ = dispatch2(massign, $1, $3); |
