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:
parent
94ab244b43
commit
1ce9c37257
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
/** Wraps (or simulates) `__builtin_unreachable`. */
|
/** Wraps (or simulates) `__builtin_unreachable`. */
|
||||||
#if RBIMPL_HAS_BUILTIN(__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)
|
#elif defined(RBIMPL_HAVE___ASSUME)
|
||||||
# define RBIMPL_UNREACHABLE_RETURN(_) return (__assume(0), (_))
|
# define RBIMPL_UNREACHABLE_RETURN(_) return (__assume(0), (_))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue