Prefer dedicated enum over int
This commit is contained in:
parent
acf61e85f3
commit
c0cd474d4f
@ -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…
x
Reference in New Issue
Block a user