The Freya Integrated Development Environment

Compiler Information Dialog

See also

The Compiler Information dialog box (Ctrl+Shift+I) shows information about the last project build.

You can show this dialog box either by executing the Project|Show build information menu command, or using the Ctrl+Shift+I keyboard shortcut.

The peephole optimizer

Most of the information shown in this dialog belongs to the peephole optimizer: a software module that detects certain code patterns in the generated IL code and substitutes inefficient encodings by better equivalents. However, the code generator in the Freya compiler generates good quality code, so the peephole generator task is really light.

The peephole optimizer also takes care for reducing the size of IL branch instructions. Branch codes in IL come in two versions: a long version, using a four byte offset, and a short variant, encoding the offset in a byte. The last pass performed by the optimizer, after flow analysis, computes the real offset between branch instructions and their targets.

See also

The Integrated Development Environment
Project management
Code generation
The Code Editor
Keyboard shortcuts
The Code Snippets manager
Environment options
The Freya Programming Language