-
Notifications
You must be signed in to change notification settings - Fork 5k
Fix coreclr interpreter build #110520
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
Fix coreclr interpreter build #110520
Conversation
@jkotas, I was trying to figure out what to replace the three HMF instances with in the interpreter: runtime/src/coreclr/vm/interpreter.cpp Lines 1880 to 1922 in b085dad
and realized that it wasn't building. |
dbde7ea
to
e7aa82d
Compare
e7aa82d
to
2cb2f7b
Compare
https://github.com/dotnet/runtime/blob/main/src/coreclr/vm/interpreter.cpp is throw-away code with many issues. We may want to delete it. |
I would prefer to leave interpreter "clean up" to the upcoming year. Piecemeal removal isn't moving the needle when all of this will be removed in due time. It also causes some issues with trying to understand the current state, which anyone looking at the interpreter might want to understand/internalize.
We have no scenario where we build with this and as such everything under it should be considered suspect. My preference is to close this PR. |
I agree with @AaronRobinsonMSFT |
@am11 As @jkotas mentioned these three functions are "dead code" and will be removed in due time. See https://github.com/dotnet/runtimelab/tree/feature/CoreclrInterpreter for some experiments that were being run for a future release. As I've been working through HMF removal, I've been ignoring the interpreter. You can too. |
@AaronRobinsonMSFT this PR is fixing interpreter build. It is unrelated to HMF. This is not the first PR fixing the interpreter build. |
Does something interesting work with these fixes? We got better insight into what we should do about it in last several months. This interpreter has number of fundamental design issues that are impossible to fix without complete rewrite. @AaronRobinsonMSFT @janvorli Would you be fine with deleting |
I would prefer that. |
I don't think anything under I still think this PR should be closed and left for the future interpreter v-team. |
@janvorli Is likely to be on the interpreter v-team so if that makes sense to him, sounds good. |
Aside from simple hello world, I haven't tested much. This is a build fix, same as we did before in #34075 and similar from others.
This code is broken for months (if not longer). This tiny PR is fixing the build not the other way around? |
Superseded by #111137. |
Tested on osx-arm64 with: