From 2383fd2822e281e62b14d30e7ea898110104ef27 Mon Sep 17 00:00:00 2001 From: Aleksey Kliger Date: Wed, 14 Aug 2024 16:01:16 -0400 Subject: [PATCH] whitespace and comments --- src/coreclr/vm/appdomain.hpp | 1 - src/coreclr/vm/ceeload.h | 1 + src/coreclr/vm/codeman.cpp | 2 -- src/coreclr/vm/codeman.h | 2 -- src/coreclr/vm/precode.h | 8 ++++---- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/coreclr/vm/appdomain.hpp b/src/coreclr/vm/appdomain.hpp index b11ff51096e9bd..c13a0ad2197404 100644 --- a/src/coreclr/vm/appdomain.hpp +++ b/src/coreclr/vm/appdomain.hpp @@ -1834,7 +1834,6 @@ class AppDomain : public BaseDomain TieredCompilationManager m_tieredCompilationManager; #endif - }; // class AppDomain // Just a ref holder diff --git a/src/coreclr/vm/ceeload.h b/src/coreclr/vm/ceeload.h index bc3a232459d608..5fee2e09f4bf79 100644 --- a/src/coreclr/vm/ceeload.h +++ b/src/coreclr/vm/ceeload.h @@ -585,6 +585,7 @@ class ModuleBase // string helper void InitializeStringData(DWORD token, EEStringData *pstrData, CQuickBytes *pqb); #endif + }; // A code:Module represents a DLL or EXE file loaded from the disk. A module live in a code:Assembly diff --git a/src/coreclr/vm/codeman.cpp b/src/coreclr/vm/codeman.cpp index 18766814d54d76..d019affc33b334 100644 --- a/src/coreclr/vm/codeman.cpp +++ b/src/coreclr/vm/codeman.cpp @@ -1207,7 +1207,6 @@ PTR_VOID GetUnwindDataBlob(TADDR moduleBase, PTR_RUNTIME_FUNCTION pRuntimeFuncti EEJitManager::EEJitManager() : - IJitManager (), // CRST_DEBUGGER_THREAD - We take this lock on debugger thread during EnC add method, among other things // CRST_TAKEN_DURING_SHUTDOWN - We take this lock during shutdown if ETW is on (to do rundown) m_CodeHeapCritSec( CrstSingleUseLock, @@ -5485,7 +5484,6 @@ int HotColdMappingLookupTable::LookupMappingForMethod(ReadyToRunInfo* pInfo, ULO #ifndef DACCESS_COMPILE ReadyToRunJitManager::ReadyToRunJitManager() - : IJitManager() { WRAPPER_NO_CONTRACT; } diff --git a/src/coreclr/vm/codeman.h b/src/coreclr/vm/codeman.h index f54ab9e0385bdb..ad69a91c980963 100644 --- a/src/coreclr/vm/codeman.h +++ b/src/coreclr/vm/codeman.h @@ -1464,8 +1464,6 @@ struct cdac_data }; }; - - struct RangeSectionMapData { BYTE Data[sizeof(RangeSectionMap)]; diff --git a/src/coreclr/vm/precode.h b/src/coreclr/vm/precode.h index a35596d1b47f3d..55d68886af4dad 100644 --- a/src/coreclr/vm/precode.h +++ b/src/coreclr/vm/precode.h @@ -14,8 +14,8 @@ #if defined(TARGET_AMD64) #define OFFSETOF_PRECODE_TYPE 0 -#define OFFSETOF_PRECODE_TYPE_CALL_OR_JMP 5 // FIXME: unused -#define OFFSETOF_PRECODE_TYPE_MOV_R10 10 // FIXME: unused +#define OFFSETOF_PRECODE_TYPE_CALL_OR_JMP 5 +#define OFFSETOF_PRECODE_TYPE_MOV_R10 10 #define SIZEOF_PRECODE_BASE 16 @@ -24,8 +24,8 @@ EXTERN_C VOID STDCALL PrecodeRemotingThunk(); #define OFFSETOF_PRECODE_TYPE 0 -#define OFFSETOF_PRECODE_TYPE_CALL_OR_JMP 5 // FIXME: unuxed -#define OFFSETOF_PRECODE_TYPE_MOV_RM_R 6 // FIXME: unused +#define OFFSETOF_PRECODE_TYPE_CALL_OR_JMP 5 +#define OFFSETOF_PRECODE_TYPE_MOV_RM_R 6 #define SIZEOF_PRECODE_BASE 8