From 68b4810203d7f6f1b4b7a4823a8d7610cda44190 Mon Sep 17 00:00:00 2001 From: Brian Sullivan Date: Tue, 7 May 2019 10:35:05 -0700 Subject: 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 --- src/vm/jitinterface.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/vm/jitinterface.h') diff --git a/src/vm/jitinterface.h b/src/vm/jitinterface.h index e97eb330ca..02ea15b8b9 100644 --- a/src/vm/jitinterface.h +++ b/src/vm/jitinterface.h @@ -1088,16 +1088,16 @@ public: void logSQMLongJitEvent(unsigned mcycles, unsigned msec, unsigned ilSize, unsigned numBasicBlocks, bool minOpts, CORINFO_METHOD_HANDLE methodHnd); - HRESULT allocBBProfileBuffer ( - ULONG count, // The number of basic blocks that we have - ProfileBuffer ** profileBuffer + HRESULT allocMethodBlockCounts ( + DWORD count, // the count of tuples + BlockCounts ** pBlockCounts // pointer to array of tuples ); - HRESULT getBBProfileData( + HRESULT getMethodBlockCounts( CORINFO_METHOD_HANDLE ftnHnd, - ULONG * count, // The number of basic blocks that we have - ProfileBuffer ** profileBuffer, - ULONG * numRuns + DWORD * pCount, // pointer to the count of tuples + BlockCounts ** pBlockCounts, // pointer to array of tuples + DWORD * pNumRuns ); void recordCallSite( @@ -1295,16 +1295,16 @@ public: ); - HRESULT allocBBProfileBuffer ( - ULONG count, // The number of basic blocks that we have - ICorJitInfo::ProfileBuffer ** profileBuffer + HRESULT allocMethodBlockCounts ( + DWORD count, // the count of tuples + ICorJitInfo::BlockCounts ** pBlockCounts // pointer to array of tuples ); - HRESULT getBBProfileData ( + HRESULT getMethodBlockCounts( CORINFO_METHOD_HANDLE ftnHnd, - ULONG * count, // The number of basic blocks that we have - ICorJitInfo::ProfileBuffer ** profileBuffer, - ULONG * numRuns + DWORD * pCount, // pointer to the count of tuples + BlockCounts ** pBlockCounts, // pointer to array of tuples + DWORD * pNumRuns ); void recordCallSite( -- cgit v1.2.3