mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjusted the format
This commit is contained in:
parent
e732e0074e
commit
76035e5bb6
1 changed files with 4 additions and 2 deletions
|
@ -570,7 +570,8 @@ fill_keys_values(st_data_t key, st_data_t val, st_data_t ptr)
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int
|
static inline int
|
||||||
ignore_keyword_hash_p(VALUE keyword_hash, const rb_iseq_t * const iseq) {
|
ignore_keyword_hash_p(VALUE keyword_hash, const rb_iseq_t * const iseq)
|
||||||
|
{
|
||||||
if (!(iseq->body->param.flags.has_kw) &&
|
if (!(iseq->body->param.flags.has_kw) &&
|
||||||
!(iseq->body->param.flags.has_kwrest)) {
|
!(iseq->body->param.flags.has_kwrest)) {
|
||||||
keyword_hash = rb_check_hash_type(keyword_hash);
|
keyword_hash = rb_check_hash_type(keyword_hash);
|
||||||
|
@ -593,7 +594,8 @@ VALUE rb_iseq_location(const rb_iseq_t *iseq);
|
||||||
*/
|
*/
|
||||||
static st_table *caller_to_callees = 0;
|
static st_table *caller_to_callees = 0;
|
||||||
|
|
||||||
static VALUE rb_warn_check(const rb_execution_context_t * const ec, const rb_iseq_t *const iseq)
|
static VALUE
|
||||||
|
rb_warn_check(const rb_execution_context_t * const ec, const rb_iseq_t *const iseq)
|
||||||
{
|
{
|
||||||
if (!iseq) return 0;
|
if (!iseq) return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue