зеркало из https://github.com/github/ruby.git
Try to fix MJIT symbol clash with cargo cult
This commit is contained in:
Родитель
0db85218aa
Коммит
da30f21ab5
|
@ -2240,7 +2240,7 @@ rb_simple_iseq_p(const rb_iseq_t *iseq)
|
||||||
iseq->body->param.flags.has_block == FALSE;
|
iseq->body->param.flags.has_block == FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
MJIT_FUNC_EXPORTED bool
|
||||||
rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
|
rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
|
||||||
{
|
{
|
||||||
return iseq->body->param.flags.has_opt == TRUE &&
|
return iseq->body->param.flags.has_opt == TRUE &&
|
||||||
|
@ -2252,7 +2252,7 @@ rb_iseq_only_optparam_p(const rb_iseq_t *iseq)
|
||||||
iseq->body->param.flags.has_block == FALSE;
|
iseq->body->param.flags.has_block == FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
MJIT_FUNC_EXPORTED bool
|
||||||
rb_iseq_only_kwparam_p(const rb_iseq_t *iseq)
|
rb_iseq_only_kwparam_p(const rb_iseq_t *iseq)
|
||||||
{
|
{
|
||||||
return iseq->body->param.flags.has_opt == FALSE &&
|
return iseq->body->param.flags.has_opt == FALSE &&
|
||||||
|
|
Загрузка…
Ссылка в новой задаче