mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
65e63af377
commit
b487b39b85
1 changed files with 4 additions and 4 deletions
|
@ -4129,10 +4129,10 @@ static VALUE
|
|||
vm_opt_aref(VALUE recv, VALUE obj)
|
||||
{
|
||||
if (SPECIAL_CONST_P(recv)) {
|
||||
if (FIXNUM_P(recv) && FIXNUM_P(obj) &&
|
||||
BASIC_OP_UNREDEFINED_P(BOP_AREF, INTEGER_REDEFINED_OP_FLAG)) {
|
||||
return rb_fix_aref(recv, obj);
|
||||
}
|
||||
if (FIXNUM_P(recv) && FIXNUM_P(obj) &&
|
||||
BASIC_OP_UNREDEFINED_P(BOP_AREF, INTEGER_REDEFINED_OP_FLAG)) {
|
||||
return rb_fix_aref(recv, obj);
|
||||
}
|
||||
return Qundef;
|
||||
}
|
||||
else if (RBASIC_CLASS(recv) == rb_cArray &&
|
||||
|
|
Loading…
Add table
Reference in a new issue