summaryrefslogtreecommitdiff
path: root/src/vm
diff options
context:
space:
mode:
authorSujin Kim <sjsujin.kim@samsung.com>2016-12-21 00:46:13 +0900
committerJan Kotas <jkotas@microsoft.com>2016-12-20 07:46:12 -0800
commitc5abe8c5a3d74b8417378e03f560fd54799c17f2 (patch)
treefd70ca2a010f5fb5a05717026f372b6d5c5819a5 /src/vm
parente99e79f336b4c796a37b939a84f57bf9bd358789 (diff)
downloadcoreclr-c5abe8c5a3d74b8417378e03f560fd54799c17f2.tar.gz
coreclr-c5abe8c5a3d74b8417378e03f560fd54799c17f2.tar.bz2
coreclr-c5abe8c5a3d74b8417378e03f560fd54799c17f2.zip
Change wrong indentations in GetSecureInvoke() codes (#8688)
In the before #8592 merged PR, several indentations in modified GetSecureInvoke method were wrong. So I request additional fixed PR. 1. 2 space indentations -> 4 spaces 2. tab indentation -> 4 spaces
Diffstat (limited to 'src/vm')
-rw-r--r--src/vm/comdelegate.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/vm/comdelegate.cpp b/src/vm/comdelegate.cpp
index c6b3df4740..4c85a0216e 100644
--- a/src/vm/comdelegate.cpp
+++ b/src/vm/comdelegate.cpp
@@ -2956,7 +2956,7 @@ PCODE COMDelegate::GetSecureInvoke(MethodDesc* pMD)
// Load the arguments
UINT paramCount = 0;
while(paramCount < sig.NumFixedArgs())
- pCode->EmitLDARG(paramCount++);
+ pCode->EmitLDARG(paramCount++);
// Call the delegate
pCode->EmitCALL(pCode->GetToken(pMD), sig.NumFixedArgs(), fReturnVal);
@@ -2970,19 +2970,19 @@ PCODE COMDelegate::GetSecureInvoke(MethodDesc* pMD)
pMD->GetSig(&pSig,&cbSig);
MethodDesc* pStubMD =
- ILStubCache::CreateAndLinkNewILStubMethodDesc(pMD->GetLoaderAllocator(),
- pMD->GetMethodTable(),
- ILSTUB_SECUREDELEGATE_INVOKE,
- pMD->GetModule(),
- pSig, cbSig,
- NULL,
- &sl);
+ ILStubCache::CreateAndLinkNewILStubMethodDesc(pMD->GetLoaderAllocator(),
+ pMD->GetMethodTable(),
+ ILSTUB_SECUREDELEGATE_INVOKE,
+ pMD->GetModule(),
+ pSig, cbSig,
+ NULL,
+ &sl);
pStub = Stub::NewStub(JitILStub(pStubMD));
- g_IBCLogger.LogEEClassCOWTableAccess(pDelegateMT);
+ g_IBCLogger.LogEEClassCOWTableAccess(pDelegateMT);
- InterlockedCompareExchangeT<PTR_Stub>(EnsureWritablePages(&delegateEEClass->m_pSecureDelegateInvokeStub), pStub, NULL);
+ InterlockedCompareExchangeT<PTR_Stub>(EnsureWritablePages(&delegateEEClass->m_pSecureDelegateInvokeStub), pStub, NULL);
}
return pStub->GetEntryPoint();
@@ -3003,12 +3003,12 @@ PCODE COMDelegate::GetSecureInvoke(MethodDesc* pMD)
MethodTable * pDelegateMT = pMD->GetMethodTable();
DelegateEEClass* delegateEEClass = (DelegateEEClass*) pDelegateMT->GetClass();
- Stub *pStub = delegateEEClass->m_pSecureDelegateInvokeStub;
+ Stub *pStub = delegateEEClass->m_pSecureDelegateInvokeStub;
- if (pStub == NULL)
- {
+ if (pStub == NULL)
+ {
GCX_PREEMP();
-
+
MetaSig sig(pMD);
UINT_PTR hash = CPUSTUBLINKER::HashMulticastInvoke(&sig);
@@ -3035,10 +3035,10 @@ PCODE COMDelegate::GetSecureInvoke(MethodDesc* pMD)
pStub = pWinner;
}
- g_IBCLogger.LogEEClassCOWTableAccess(pDelegateMT);
+ g_IBCLogger.LogEEClassCOWTableAccess(pDelegateMT);
EnsureWritablePages(&delegateEEClass->m_pSecureDelegateInvokeStub);
delegateEEClass->m_pSecureDelegateInvokeStub = pStub;
- }
+ }
RETURN (pStub->GetEntryPoint());
}
#endif // FEATURE_STUBS_AS_IL