diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-07-06 15:39:26 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2020-07-10 12:23:41 +0900 |
commit | 215c6fa3d012221d89420cbdf1416f65d7179a24 (patch) | |
tree | f7352818e6ab18fc0bab9725014cd9a09567eea8 /vm_exec.c | |
parent | 4b8170ce8027863b2085c105f4c4aaad0489328b (diff) |
RUBY_CONST_ASSERT: use STATIC_ASSERT instead
Static assertions shall be done using STATIC_ASSERT these days.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3296
Diffstat (limited to 'vm_exec.c')
-rw-r--r-- | vm_exec.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -62,17 +62,6 @@ static void vm_insns_counter_count_insn(int insn) {} #endif /* #define DECL_SC_REG(r, reg) VALUE reg_##r */ -#if VM_DEBUG_STACKOVERFLOW -NORETURN(static void vm_stack_overflow_for_insn(void)); -static void -vm_stack_overflow_for_insn(void) -{ - rb_bug("CHECK_VM_STACK_OVERFLOW_FOR_INSN: should not overflow here. " - "Please contact ruby-core/dev with your (a part of) script. " - "This check will be removed soon."); -} -#endif - #if !OPT_CALL_THREADED_CODE static VALUE vm_exec_core(rb_execution_context_t *ec, VALUE initial) |