mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_insnhelper.c: use COLDFUNC
COLDFUNC is introduced in r66228. Use it for pre-existing __attribute__((__cold__)) usages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
67beaf224d
commit
bfcf0fe787
1 changed files with 1 additions and 4 deletions
|
@ -3941,10 +3941,7 @@ vm_trace(rb_execution_context_t *ec, rb_control_frame_t *reg_cfp, const VALUE *p
|
||||||
}
|
}
|
||||||
|
|
||||||
#if VM_CHECK_MODE > 0
|
#if VM_CHECK_MODE > 0
|
||||||
static NORETURN( NOINLINE(
|
static NORETURN( NOINLINE( COLDFUNC
|
||||||
#if GCC_VERSION_SINCE(4, 3, 0)
|
|
||||||
__attribute__((__cold__))
|
|
||||||
#endif
|
|
||||||
void vm_canary_is_found_dead(enum ruby_vminsn_type i, VALUE c)));
|
void vm_canary_is_found_dead(enum ruby_vminsn_type i, VALUE c)));
|
||||||
static VALUE vm_stack_canary;
|
static VALUE vm_stack_canary;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue