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

Translate global body as a separate initializer function #461

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Nadrieril
Copy link
Member

This changes how we represent globals: instead of carrying a body directly, we instead translate their body as a separate initializer function. The global itself only keeps the id of this function. This reduces duplication in many places.

We were already presenting the llbc in this way on the ocaml side, so this PR doesn't change the LLBC OCaml API; it does change the ULLBC OCaml API however.

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.

1 participant