-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Remove CopyFile, GetTempFileName from PAL #113490
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
Conversation
| return E_FAIL; | ||
| } | ||
| #else // TARGET_WINDOWS | ||
| assert(!copyJit); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copyJit is always passed as false. Even if we do use it in the future, std::filesystem::copy should be better alternative.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the copyJit argument since it is unused?
|
Failure looks unrelated. Helix sends Not Found for the console log. |
|
|
||
| bool JitInstance::reLoad(MethodContext* firstContext) | ||
| { | ||
| FreeLibrary(hLib); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JitInstance::reLoad looks like a dead code and it can be deleted. Once you do that, PathToOriginalJit field becomes unused and it can be deleted too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dotnet/jit-contrib Any comment on the functionality of superpmi?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As stated, reLoad can be deleted since it is dead code.
jkotas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
No description provided.