diff options
author | Brian Sullivan <briansul@microsoft.com> | 2019-05-07 10:35:05 -0700 |
---|---|---|
committer | Brian Sullivan <briansul@microsoft.com> | 2019-05-07 10:36:02 -0700 |
commit | 68b4810203d7f6f1b4b7a4823a8d7610cda44190 (patch) | |
tree | cb648eea43db9b3f36981a053bdef2de280f552f /src/jit/ICorJitInfo_API_wrapper.hpp | |
parent | c2e71fd5e711ca150e238741015a1a0229606793 (diff) | |
download | coreclr-68b4810203d7f6f1b4b7a4823a8d7610cda44190.tar.gz coreclr-68b4810203d7f6f1b4b7a4823a8d7610cda44190.tar.bz2 coreclr-68b4810203d7f6f1b4b7a4823a8d7610cda44190.zip |
Rename struct ICorJitInfo::ProfileBuffer to ICorJitInfo::BlockCounts
Rename method ICorJitInfo::allocBBProfileBuffer to ICorJitInfo::allocMethodBlockCounts
Rename method ICorJitInfo::getBBProfileData to ICorJitInfo:"getMethodBlockCounts
Rename args and use DWORD instead of ULONG for ICorJitInfo:allocMethodBlockCounts and ICorJitInfo:getMethodBlockCounts
Rename Compiler::fgProfileBuffer to Compiler::fgBlockCounts
Use an #ifdef FEATURE_CORECLR to fix the missing CORINFO_FLG_DISABLE_TIER0_FOR_LOOPS flag on the desktop.
Make fgBlockCountsCount and fgNumProfileRuns DWORDs instead of ULONGs
Rename local var bbCurrentBlockProfileBuffer to currentBlockCounts
Rename local var bbProfileBufferStart to profileBlockCountsStart
Use DWORD when iterating over BlockCounts instead of ULONG
Rename ZapImage::hashBBProfileData to ZapImage::hashMethodBlockCounts
SuperPMI - Fixed all references to allocBBProfileBuffer => allocMethodBlockCounts
SuperPMI - fixed all reference to getBBProfileBuffer => getMethodBlockCounts
Diffstat (limited to 'src/jit/ICorJitInfo_API_wrapper.hpp')
-rw-r--r-- | src/jit/ICorJitInfo_API_wrapper.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/jit/ICorJitInfo_API_wrapper.hpp b/src/jit/ICorJitInfo_API_wrapper.hpp index e34ea9539c..75bd020731 100644 --- a/src/jit/ICorJitInfo_API_wrapper.hpp +++ b/src/jit/ICorJitInfo_API_wrapper.hpp @@ -1590,25 +1590,25 @@ void WrapICorJitInfo::reportFatalError(CorJitResult result) API_LEAVE(reportFatalError); } -HRESULT WrapICorJitInfo::allocBBProfileBuffer( - ULONG count, - ProfileBuffer **profileBuffer) +HRESULT WrapICorJitInfo::allocMethodBlockCounts( + DWORD count, + BlockCounts **pBlockCounts) { - API_ENTER(allocBBProfileBuffer); - HRESULT result = wrapHnd->allocBBProfileBuffer(count, profileBuffer); - API_LEAVE(allocBBProfileBuffer); + API_ENTER(allocMethodBlockCounts); + HRESULT result = wrapHnd->allocMethodBlockCounts(count, pBlockCounts); + API_LEAVE(allocMethodBlockCounts); return result; } -HRESULT WrapICorJitInfo::getBBProfileData( +HRESULT WrapICorJitInfo::getMethodBlockCounts( CORINFO_METHOD_HANDLE ftnHnd, - ULONG *count, - ProfileBuffer **profileBuffer, - ULONG *numRuns) + DWORD *pCount, + BlockCounts **pBlockCounts, + DWORD *numRuns) { - API_ENTER(getBBProfileData); - HRESULT temp = wrapHnd->getBBProfileData(ftnHnd, count, profileBuffer, numRuns); - API_LEAVE(getBBProfileData); + API_ENTER(getMethodBlockCounts); + HRESULT temp = wrapHnd->getMethodBlockCounts(ftnHnd, pCount, pBlockCounts, numRuns); + API_LEAVE(getMethodBlockCounts); return temp; } |