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 | 11fdc4ad9acbe76264d79ba34ab098636d86b5df (patch) | |
tree | d7e7c8f03d0715208e5493863e172aa7f94b4f81 /vm_core.h | |
parent | b443996deac4c09af74055b69feec44e0dc4f275 (diff) | |
download | ruby-11fdc4ad9acbe76264d79ba34ab098636d86b5df.tar.gz |
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 |