Compiler instructions / hints

Compiler instructions (otherwise called as compiler hints) can be occasionally useful when handling specific code. In the language a compiler instructions can be present before any item (struct, function, etc) and will modify that items specific behavior accordingly.

Please note that not all items may support compiler instructions in the latest release of the compiler.

Most instructions directly translate to llvm instructions.

Instructions list

InstructionBehavior
FeatureCan be used to limit a function visibility to a specific feature when contained in a dependency.
ColdIndicates to the compiler that the function is not used frequently.
NoFreeIndicates that the function will not call any memory freeing operation.
InlineInlines the function wherever it is used.
NoUnWind(Unused)