Ruby 4.1.0dev (2026-09-28 revision 1212cfb3187c9131f664766a1807622c758b8dc2)
Macros
force_inline.h File Reference

(1212cfb3187c9131f664766a1807622c758b8dc2)

#include "prism/compiler/inline.h"
Include dependency graph for force_inline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRISM_FORCE_INLINE   __forceinline
 Force a function to be inlined at every call site.
 

Macro Definition Documentation

◆ PRISM_FORCE_INLINE

#define PRISM_FORCE_INLINE   __forceinline

Force a function to be inlined at every call site.

Use sparingly — only for small, hot functions where the compiler's heuristics fail to inline.

Definition at line 14 of file force_inline.h.