diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-18 06:52:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-18 06:52:51 +0000 |
commit | bade43f9d16d1a03c29077c0f1c8fbf07e19acd1 (patch) | |
tree | 19d9aa3429bd7107c14d0fe1c58147be7b4abc80 /insnhelper.ci | |
parent | d23abfc546cf0b5f1b28588036af691938c484a0 (diff) | |
download | ruby-bade43f9d16d1a03c29077c0f1c8fbf07e19acd1.tar.gz |
* insnhelper.ci (vm_send_optimize): use MEMMOVE to shift values inside
an array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.ci')
-rw-r--r-- | insnhelper.ci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/insnhelper.ci b/insnhelper.ci index 369aeef251..500005c9ce 100644 --- a/insnhelper.ci +++ b/insnhelper.ci @@ -591,7 +591,7 @@ vm_send_optimize(rb_control_frame_t *reg_cfp, /* shift arguments */ if (i > 0) { - MEMCPY(&TOPN(i), &TOPN(i-1), VALUE, i); + MEMMOVE(&TOPN(i), &TOPN(i-1), VALUE, i); } *mn = rb_method_node(klass, *id); |