summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm_insnhelper.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 6c09827b83..4f39a0f5a3 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -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
-static NORETURN( NOINLINE(
-#if GCC_VERSION_SINCE(4, 3, 0)
-__attribute__((__cold__))
-#endif
+static NORETURN( NOINLINE( COLDFUNC
void vm_canary_is_found_dead(enum ruby_vminsn_type i, VALUE c)));
static VALUE vm_stack_canary;