Ruby 4.1.0dev (2026-05-17 revision 71749b882622c03028dfc55f40e5c3cceb24eaaf)
Macros
force_inline.h File Reference

(71749b882622c03028dfc55f40e5c3cceb24eaaf)

#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.