-noinline

Prevents the optimizer from attempting to inline PROCEDURE or BEGIN blocks.

Syntax

-noinline

Behavior

When -noinline is not set (default), the optimizer attempts to inline procedures that are compiled with -opt 3 and that also meet all of the following criteria:

  • Are smaller than a certain number of operations
  • Contain no nested procedures or BEGIN blocks
  • Contain no ON or REVERT statements
  • Contain no label array definitions
  • Have only one entry point

When set in addition to the -opt 3 option, prevents the optimizer from attempting any inlining, even when all criteria are met. See -opt for more information.

Dependency

You must use -noinline with the -opt 3 compiler option.

Default

Not set.

Comments

You may add OPTIONS(NOINLINE) to an individual PROCEDURE statement to disable inlining for specific procedures instead of compiling with the -noinline option. See PROCEDURE for more information.