Remove unnecessary file handle parameter in PEImageLayout methods (dotnet/coreclr...
authorVitek Karas <vitek.karas@microsoft.com>
Fri, 6 Sep 2019 10:59:09 +0000 (03:59 -0700)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2019 10:59:09 +0000 (03:59 -0700)
commit3b7db2fd1a1b733a63279db5e877be043ce27e1c
tree1cafbcfa0b2a9405147fa4cb9436a1b81f58552d
parentebf96ae84019c4bb8cf88925ad1b0b001df529dd
Remove unnecessary file handle parameter in PEImageLayout methods (dotnet/coreclr#26530)

The handle is always the owner's PEImage->GetFileHandle, and so the PEImageLayout can call that instead of passing it around through parameters.

Commit migrated from https://github.com/dotnet/coreclr/commit/af62a24b0452392a461a4402ffad0c6320f41d9d
src/coreclr/src/vm/peimage.cpp
src/coreclr/src/vm/peimagelayout.cpp
src/coreclr/src/vm/peimagelayout.h