Attribute

The Attribute Class has an enumeration of attributes that indicate how it should be treated by optimizations and code generation.

Here are the attributes used in Tiger Compiler. For more information about Attributes you can go here.

Attribute::NoUnwind:

This attribute guarantees that the function won’t read the calling sequence with the stack unwinder. Then, it will not use the unwind stack.

Attribute::InlineHint:

This attribute says that inlining is desirable. Then, it will be done when possible.