The {$W} switch directive controls the generation of stackframes. In the ON state, the compiler will generate a stackframe for every procedure or function.
In the OFF state the compiler will omit the generation of a stackframe if the procedure or function satisfies the following conditions:
The stack frame will be omitted only if all these conditions are satisfied.