mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Mark rb_unexpected_type
as "cold" [Bug #18062]
So that it will not interfere the fast path in `Check_Type`.
This commit is contained in:
parent
573eef7c89
commit
611da9faef
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ NORETURN(void rb_syserr_fail_str(int, VALUE));
|
|||
NORETURN(void rb_mod_syserr_fail(VALUE, int, const char*));
|
||||
NORETURN(void rb_mod_syserr_fail_str(VALUE, int, VALUE));
|
||||
NORETURN(void rb_readwrite_syserr_fail(enum rb_io_wait_readwrite, int, const char*));
|
||||
NORETURN(void rb_unexpected_type(VALUE,int));
|
||||
COLDFUNC NORETURN(void rb_unexpected_type(VALUE,int));
|
||||
|
||||
VALUE *rb_ruby_verbose_ptr(void);
|
||||
VALUE *rb_ruby_debug_ptr(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue