prologue_helper_functions

Controls size optimization for function initialization instructions.

Syntax
#pragma prologue_helper_functions on | off | reset
  
Remarks

When this pragma is on, the compiler reduces the size of object code in function initialization. It performs this optimization by replacing several instructions for function initialization with fewer calls to special functions that perform the same tasks. This optimization reduces executable code size but also reduces the program's performance.

This pragma does not correspond to any panel setting. By default, this pragma is off. The compiler turns this optimization on implicitly when size optimization is on and optimization level is equal to or greater than 2. For example, these pragma settings will also turn on prologue helper function generation:

#pragma optimization_level 2 #pragma optimize_for_size on