Feature #9935
closedGet rid of auxilary function duplicates
0%
Description
At the moment Aspectator creates an auxiliary function for each matched join point. Often is is redundant since corresponding generated code is absolutely the same.
You should note that this issue is weakly related with #6486. There it is suggested to get rid of simple auxiliary functions that is quite hard to implement by the way. Here it is suggested to get rid of auxiliary function duplicates.
In addition, I expect that there will be no more numbers at the end of auxiliary function names and auxiliary functions will be always static. This will help to avoid nondeterminism in auxiliary function names and function collisions (sometimes there may be [different!] auxiliary functions with the same names in different source files merged together).
Updated by Evgeny Novikov about 5 years ago
- Related to Feature #6486: Get rid of auxiliary functions if possible added
Updated by Evgeny Novikov almost 5 years ago
- Status changed from New to Closed
I did everything required in c294294. Please, note that in addition I had to change an auxiliary function prefix from "ldv_" to "cif_" to avoid collisions with Klever model functions.
Updated by Evgeny Novikov almost 5 years ago
- Related to Bug #10118: CIF generates invalid source files on some Linux 3.14 modules added