diff options
author | 卜部昌平 <[email protected]> | 2020-07-06 15:39:26 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-07-10 12:23:41 +0900 |
commit | 215c6fa3d012221d89420cbdf1416f65d7179a24 (patch) | |
tree | f7352818e6ab18fc0bab9725014cd9a09567eea8 /vm_exec.h | |
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.h')
-rw-r--r-- | vm_exec.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -185,8 +185,7 @@ default: \ #define VM_DEBUG_STACKOVERFLOW 0 #if VM_DEBUG_STACKOVERFLOW -#define CHECK_VM_STACK_OVERFLOW_FOR_INSN(cfp, margin) \ - WHEN_VM_STACK_OVERFLOWED(cfp, (cfp)->sp, margin) vm_stack_overflow_for_insn() +#define CHECK_VM_STACK_OVERFLOW_FOR_INSN CHECK_VM_STACK_OVERFLOW #else #define CHECK_VM_STACK_OVERFLOW_FOR_INSN(cfp, margin) #endif |