[next] [prev] [prev-tail] [tail] [up]

#### $W or $STACKFRAMES : Generate stackframes

The {$W} switch directove 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 following conditions are satisfied:

- The procedure has no parameters.
- The procedure has no local variables.
- If the procedure is not an assembler procedure, it must not have a asm ...end; block.
- it is not a constuctor or desctructor.

If these conditions are satisfied, the stack frame will be omitted.

[next] [prev] [prev-tail] [front] [up]