Ruby 4.1.0dev (2026-03-23 revision 305b563ec974b554b2c00d2724c62a4abe99acc7)
Macros
force_inline.h File Reference

(305b563ec974b554b2c00d2724c62a4abe99acc7)

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