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/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp | |
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/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp')
-rw-r--r-- | src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp b/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp index 49dd2423e1..95cc39e722 100644 --- a/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp +++ b/src/ToolBox/superpmi/superpmi-shim-simple/icorjitinfo.cpp @@ -1497,20 +1497,20 @@ void interceptor_ICJI::reportFatalError(CorJitResult result) // allocate a basic block profile buffer where execution counts will be stored // for jitted basic blocks. -HRESULT interceptor_ICJI::allocBBProfileBuffer(ULONG count, // The number of basic blocks that we have - ProfileBuffer** profileBuffer) +HRESULT interceptor_ICJI::allocMethodBlockCounts(DWORD count, // The number of basic blocks that we have + BlockCounts** pBlockCounts) { - return original_ICorJitInfo->allocBBProfileBuffer(count, profileBuffer); + return original_ICorJitInfo->allocMethodBlockCounts(count, pBlockCounts); } // get profile information to be used for optimizing the current method. The format -// of the buffer is the same as the format the JIT passes to allocBBProfileBuffer. -HRESULT interceptor_ICJI::getBBProfileData(CORINFO_METHOD_HANDLE ftnHnd, - ULONG* count, // The number of basic blocks that we have - ProfileBuffer** profileBuffer, - ULONG* numRuns) +// of the buffer is the same as the format the JIT passes to allocMethodBlockCounts. +HRESULT interceptor_ICJI::getMethodBlockCounts(CORINFO_METHOD_HANDLE ftnHnd, + DWORD* pCount, // The number of basic blocks that we have + BlockCounts** pBlockCounts, + DWORD* pNumRuns) { - return original_ICorJitInfo->getBBProfileData(ftnHnd, count, profileBuffer, numRuns); + return original_ICorJitInfo->getMethodBlockCounts(ftnHnd, pCount, pBlockCounts, pNumRuns); } // Associates a native call site, identified by its offset in the native code stream, with |