Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
Defines ASSUME / #RB_LIKELY / UNREACHABLE. More...
#include "ruby/internal/config.h"
#include "ruby/internal/assume.h"
#include "ruby/internal/has/builtin.h"
Go to the source code of this file.
Macros | |
#define | ASSUME RBIMPL_ASSUME |
Old name of RBIMPL_ASSUME. | |
#define | UNREACHABLE RBIMPL_UNREACHABLE() |
Old name of RBIMPL_UNREACHABLE. | |
#define | UNREACHABLE_RETURN RBIMPL_UNREACHABLE_RETURN |
Old name of RBIMPL_UNREACHABLE_RETURN. | |
#define | RB_LIKELY(x) |
#define | RB_UNLIKELY(x) |
Defines ASSUME / #RB_LIKELY / UNREACHABLE.
Definition in file assume.h.