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

[1/x] frontend: Local function calls translation #381

Merged
merged 8 commits into from
Feb 4, 2025

Conversation

greenhat
Copy link
Contributor

@greenhat greenhat commented Jan 31, 2025

#363

This PR adds:

  • Declare the module's functions before the first function's body translation;
  • Add the defined function to the module's symbol table;
  • Lookup the function in the module's symbol table when translating a function call.

…translation,

Add the defined function to the module's symbol table.
Lookup the function in the module's symbol table when translating a
function call.
@greenhat greenhat changed the title Implement local function calls translation frontend: Local function calls translation Jan 31, 2025
@greenhat greenhat changed the title frontend: Local function calls translation [2/x] frontend: Local function calls translation Feb 3, 2025
Base automatically changed from greenhat/i363-op-tests to next February 3, 2025 22:29
@greenhat greenhat changed the title [2/x] frontend: Local function calls translation frontend: Local function calls translation Feb 4, 2025
@greenhat greenhat marked this pull request as ready for review February 4, 2025 03:13
@greenhat greenhat requested a review from bitwalker February 4, 2025 03:13
@greenhat greenhat changed the title frontend: Local function calls translation [1/x] frontend: Local function calls translation Feb 4, 2025
@bitwalker bitwalker merged commit 732d8d3 into next Feb 4, 2025
5 checks passed
@bitwalker bitwalker deleted the greenhat/i363-func-call branch February 4, 2025 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants