ruby-changes:47452
From: nobu <ko1@a...>
Date: Thu, 10 Aug 2017 20:40:54 +0900 (JST)
Subject: [ruby-changes:47452] nobu:r59568 (trunk): vm_core.h: unreachable VM_UNREACHABLE
nobu 2017-08-10 20:40:49 +0900 (Thu, 10 Aug 2017) New Revision: 59568 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59568 Log: vm_core.h: unreachable VM_UNREACHABLE * vm_core.h (VM_UNREACHABLE): tell unreachable if possible. suppress an invalid-noreturn warning at rb_fiber_start. Modified files: trunk/vm_core.h Index: vm_core.h =================================================================== --- vm_core.h (revision 59567) +++ vm_core.h (revision 59568) @@ -51,7 +51,7 @@ https://github.com/ruby/ruby/blob/trunk/vm_core.h#L51 #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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/