Skip to content

Asmpackager for Flambda 2#106

Merged
mshinwell merged 1 commit intooxcaml:mainfrom
mshinwell:flambda2-asmpackager
Jul 26, 2021
Merged

Asmpackager for Flambda 2#106
mshinwell merged 1 commit intooxcaml:mainfrom
mshinwell:flambda2-asmpackager

Conversation

@mshinwell
Copy link
Copy Markdown
Collaborator

This makes the necessary changes to Asmpackager for Flambda 2. To avoid circular dependencies, the Flambda 2 middle end and Flambda 2 to Cmm translation aren't referenced until right at the top, in Flambda_backend_main.

This PR also fixes the misnaming of the Flambda_backend_impl library (although this still doesn't solve the problem of needing to use the mangled names).

@mshinwell mshinwell added the flambda2 Prerequisite for, or part of, flambda2 label Jul 23, 2021
@mshinwell mshinwell requested a review from xclerc July 23, 2021 16:06
@xclerc
Copy link
Copy Markdown
Contributor

xclerc commented Jul 23, 2021

I find the "backend_impl" situation a bit confusing: the library is
named "flambda2_backend_impl" (in line with its module), but the
directory is named "backend_intf/".

Should we consider renaming the directory? (Maybe even to the
point that it is no longer under "flambda2/".)

Copy link
Copy Markdown
Contributor

@xclerc xclerc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#106 (comment) is optional.

@mshinwell
Copy link
Copy Markdown
Collaborator Author

I'll deal with the backend_impl naming in a separate PR.

@mshinwell mshinwell merged commit c7d2ca2 into oxcaml:main Jul 26, 2021
mshinwell added a commit to mshinwell/oxcaml that referenced this pull request Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flambda2 Prerequisite for, or part of, flambda2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants