mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
Prefer dedicated enum over int
This commit is contained in:
parent
acf61e85f3
commit
c0cd474d4f
1 changed files with 1 additions and 1 deletions
|
@ -6946,7 +6946,7 @@ delegate_call_p(const rb_iseq_t *iseq, unsigned int argc, const LINK_ANCHOR *arg
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, int type, int line, int popped)
|
compile_call(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, const enum node_type type, int line, int popped)
|
||||||
{
|
{
|
||||||
/* call: obj.method(...)
|
/* call: obj.method(...)
|
||||||
* fcall: func(...)
|
* fcall: func(...)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue