1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "RBIMPL_UNREACHABLE_RETURN: evaluate the argument"

This reverts commit c8dc2bf140.

No longer necessary.
This commit is contained in:
卜部昌平 2020-06-29 12:33:17 +09:00
parent 94ab244b43
commit 1ce9c37257

View file

@ -42,7 +42,7 @@
/** Wraps (or simulates) `__builtin_unreachable`. */
#if RBIMPL_HAS_BUILTIN(__builtin_unreachable)
# define RBIMPL_UNREACHABLE_RETURN(_) (__builtin_unreachable(), (_))
# define RBIMPL_UNREACHABLE_RETURN(_) __builtin_unreachable()
#elif defined(RBIMPL_HAVE___ASSUME)
# define RBIMPL_UNREACHABLE_RETURN(_) return (__assume(0), (_))