TC-I, Function inliningΒΆ

TC-I is an optional assignment.

This section has been updated for EPITA- 2021 on 2019-04-26.

At the end of this stage, the compiler inlines function bodies where functions are called. In a later pass, useless functions can be pruned from the AST. These features are triggered by the options --inline and --prune. If you also implemented function overloading (see TC-A, Ad Hoc Polymorphism (Function Overloading)), use the options --overfun-inline and --overfun-prune.