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

insns.def: remove unnecessary sp motion

This seems obsoleted after r62087.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-02-12 09:05:12 +00:00
parent 9bb7cb7892
commit 1012e50ac7

View file

@ -539,9 +539,7 @@ dupn
void *dst = GET_SP(); void *dst = GET_SP();
void *src = STACK_ADDR_FROM_TOP(n); void *src = STACK_ADDR_FROM_TOP(n);
INC_SP(n); /* alloca */
MEMCPY(dst, src, VALUE, n); MEMCPY(dst, src, VALUE, n);
DEC_SP(n);
} }
/* swap top 2 vals */ /* swap top 2 vals */