mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
insns.def: duplicated code
* insns.def (checkmatch): remove duplicated code. [ruby-core:47339] [Bug #6930] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
43b8ae4631
commit
cb6fc579f4
1 changed files with 0 additions and 2 deletions
|
@ -840,8 +840,6 @@ checkmatch
|
|||
if (flag & VM_CHECKMATCH_ARRAY) {
|
||||
int i;
|
||||
for (i = 0; i < RARRAY_LEN(pattern); i++) {
|
||||
enum vm_check_match_type checkmatch_type =
|
||||
(enum vm_check_match_type)(flag & VM_CHECKMATCH_TYPE_MASK);
|
||||
if (RTEST(check_match(RARRAY_PTR(pattern)[i], target, checkmatch_type))) {
|
||||
result = Qtrue;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue