TC-I, Function inliningΒΆ

TC-I is an additional assignment.

This section has been updated for EPITA- 2023 on 2021-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)), you can combine these extensions using --c-inline and --c-prune.