##### Syntax

-Oxj

##### Description

Enables the cross jumping optimization. Cross jumping finds identical code sequences that can be shared, deletes all copies and reroutes control flow to exactly one instance of the code sequence. Cross jumping will always reduce code size at the expense of executing an additional jump instruction.

##### Setting this in CrossStudio

To enable this optimization for a project:

- Select the project in the Project Explorer.
- In the Optimization Options group set the Cross Jumping Optimization property to Yes