diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-10 11:40:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-08-10 11:40:49 +0000 |
commit | 1f5bf61c6e8316f489221bf93b159ece80c8c00e (patch) | |
tree | d7e7c8f03d0715208e5493863e172aa7f94b4f81 /vm_core.h | |
parent | df94c66f71448cf30b34375349fd201d1d035423 (diff) |
vm_core.h: unreachable VM_UNREACHABLE
* vm_core.h (VM_UNREACHABLE): tell unreachable if possible.
suppress an invalid-noreturn warning at rb_fiber_start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ #else #define VM_ASSERT(expr) ((void)0) -#define VM_UNREACHABLE(func) ((void)0) +#define VM_UNREACHABLE(func) UNREACHABLE #endif #define RUBY_VM_THREAD_MODEL 2 |