Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Выявлять во время статического анализа вызовы к функциям #60

Open
Stepami opened this issue Feb 19, 2024 · 1 comment
Labels
BackEnd Working on backend of the interpreter Feature New feature or request

Comments

@Stepami
Copy link
Owner

Stepami commented Feb 19, 2024

Is your feature request related to a problem? Please describe.
Сейчас, если у функции пустое тело, то код не будет генерироваться как для определения, так и для вызова.

Describe the solution you'd like
Требуется выявлять во время статического анализа вызовы к функциям, чтобы не генерировать код для тех функций, которые не вызывали.

@Stepami Stepami added Feature New feature or request IR Working on intermediate representation of the interpreter labels Feb 19, 2024
@Stepami Stepami added BackEnd Working on backend of the interpreter and removed IR Working on intermediate representation of the interpreter labels Jul 27, 2024
@Stepami
Copy link
Owner Author

Stepami commented Jul 27, 2024

Выглядит как BackEnd оптимизация уже сгенерированного кода - удалить из AdressedInstructions последовательный блок тела функции

Очень похоже на компоненту связности в Control Flow Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackEnd Working on backend of the interpreter Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant