Ruby 4.1.0dev (2026-10-26 revision 6b15825df0fce73e868b99f98c689755e46cfc8c)
Macros
force_inline.h File Reference

(6b15825df0fce73e868b99f98c689755e46cfc8c)

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