diff options
author | Brian Sullivan <briansul@microsoft.com> | 2019-05-08 11:08:09 -0700 |
---|---|---|
committer | Brian Sullivan <briansul@microsoft.com> | 2019-05-08 11:08:09 -0700 |
commit | e0256bf9c0ba9255a4a955876ff99704b5c1636c (patch) | |
tree | 5fbc36f10a8add7f8dc1fe249d4d06d7618ed9d5 /src/zap/zapinfo.cpp | |
parent | 68b4810203d7f6f1b4b7a4823a8d7610cda44190 (diff) | |
download | coreclr-e0256bf9c0ba9255a4a955876ff99704b5c1636c.tar.gz coreclr-e0256bf9c0ba9255a4a955876ff99704b5c1636c.tar.bz2 coreclr-e0256bf9c0ba9255a4a955876ff99704b5c1636c.zip |
Prefer UINT32 over DWORD in the IBC BlockCount API's
Diffstat (limited to 'src/zap/zapinfo.cpp')
-rw-r--r-- | src/zap/zapinfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/zap/zapinfo.cpp b/src/zap/zapinfo.cpp index d487b1e3bc..6d66a56876 100644 --- a/src/zap/zapinfo.cpp +++ b/src/zap/zapinfo.cpp @@ -877,7 +877,7 @@ bool ZapInfo::runWithErrorTrap(void (*function)(void*), void* param) } HRESULT ZapInfo::allocMethodBlockCounts ( - DWORD count, // the count of <ILOffset, ExecutionCount> tuples + UINT32 count, // the count of <ILOffset, ExecutionCount> tuples ICorJitInfo::BlockCounts ** pBlockCounts // pointer to array of <ILOffset, ExecutionCount> tuples ) { @@ -937,9 +937,9 @@ HRESULT ZapInfo::allocMethodBlockCounts ( HRESULT ZapInfo::getMethodBlockCounts ( CORINFO_METHOD_HANDLE ftnHnd, - DWORD * pCount, // pointer to the count of <ILOffset, ExecutionCount> tuples + UINT32 * pCount, // pointer to the count of <ILOffset, ExecutionCount> tuples BlockCounts ** pBlockCounts, // pointer to array of <ILOffset, ExecutionCount> tuples - DWORD * pNumRuns + UINT32 * pNumRuns ) { _ASSERTE(pBlockCounts != nullptr); @@ -4026,7 +4026,7 @@ template<> void LoadTable<CORINFO_METHOD_HANDLE>::EmitLoadFixups(CORINFO_METHOD_ BOOL ZapInfo::CurrentMethodHasProfileData() { WRAPPER_NO_CONTRACT; - DWORD size; + UINT32 size; ICorJitInfo::BlockCounts * pBlockCounts; return SUCCEEDED(getMethodBlockCounts(m_currentMethodHandle, &size, &pBlockCounts, NULL)); } |