1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2007-08-18 06:52:51 +00:00
parent d23abfc546
commit bade43f9d1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Aug 18 15:52:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* insnhelper.ci (vm_send_optimize): use MEMMOVE to shift values inside
an array.
Sat Aug 18 15:45:34 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* insnhelper.ci (vm_yield_setup_args): rsize and psize should not be

View file

@ -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);