mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjust indent [ci skip]
This commit is contained in:
parent
cfc8d7eaec
commit
841521b7c1
1 changed files with 8 additions and 6 deletions
|
@ -12,18 +12,20 @@ enum ruby_insn_type_chars {
|
|||
% end
|
||||
};
|
||||
|
||||
static inline union iseq_inline_storage_entry * ISEQ_IS_ENTRY_START(const struct rb_iseq_constant_body *body, char op_type) {
|
||||
static inline union iseq_inline_storage_entry *
|
||||
ISEQ_IS_ENTRY_START(const struct rb_iseq_constant_body *body, char op_type)
|
||||
{
|
||||
unsigned int relative_ic_offset = 0;
|
||||
switch(op_type) {
|
||||
switch (op_type) {
|
||||
case TS_IC:
|
||||
relative_ic_offset += body->ise_size;
|
||||
relative_ic_offset += body->ise_size;
|
||||
case TS_ISE:
|
||||
relative_ic_offset += body->ivc_size;
|
||||
relative_ic_offset += body->ivc_size;
|
||||
case TS_IVC:
|
||||
case TS_ICVARC:
|
||||
break;
|
||||
break;
|
||||
default:
|
||||
rb_bug("Wrong op type");
|
||||
rb_bug("Wrong op type");
|
||||
}
|
||||
return &body->is_entries[relative_ic_offset];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue