summaryrefslogtreecommitdiff
path: root/src/vm/dllimportcallback.h
diff options
context:
space:
mode:
authorEvgeny Pavlov <lucenticus@gmail.com>2017-03-16 07:30:37 +0300
committerJan Kotas <jkotas@microsoft.com>2017-03-15 21:30:37 -0700
commit6f3aa999a842cfa4bf83415e88ea7fb1650ab5bf (patch)
tree13430a26dbea19627595798af073d5638184713b /src/vm/dllimportcallback.h
parentdebcfa9e83bb9d5896f922fd8682241dec79d5e7 (diff)
downloadcoreclr-6f3aa999a842cfa4bf83415e88ea7fb1650ab5bf.tar.gz
coreclr-6f3aa999a842cfa4bf83415e88ea7fb1650ab5bf.tar.bz2
coreclr-6f3aa999a842cfa4bf83415e88ea7fb1650ab5bf.zip
[x86/Linux] Fix NativeCallableTest (#10060)
* [x86/Linux] Fix NativeCallableTest * Move m_cbActualArgSize adjustment outside if statement * [x86/Linux] Adjust m_cbActualArgSize in case pStubMD == NULL * [x86/Linux] Move m_cbActualArgSize calculation to #else part of '#ifdef _TARGET_X86_' * [x86/Linux] Remove redundant computations, add comments for m_cbActualArgSize meaning
Diffstat (limited to 'src/vm/dllimportcallback.h')
-rw-r--r--src/vm/dllimportcallback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/dllimportcallback.h b/src/vm/dllimportcallback.h
index b50b917337..af2a0b1d92 100644
--- a/src/vm/dllimportcallback.h
+++ b/src/vm/dllimportcallback.h
@@ -220,6 +220,7 @@ private:
// On x86, NULL for no-marshal signatures
// On non-x86, the managed entrypoint for no-delegate no-marshal signatures
UINT32 m_cbActualArgSize; // caches m_pSig.SizeOfFrameArgumentArray()
+ // On x86/Linux we have to augment with numRegistersUsed * STACK_ELEM_SIZE
#if defined(_TARGET_X86_)
UINT16 m_cbRetPop; // stack bytes popped by callee (for UpdateRegDisplay)
#if defined(FEATURE_STUBS_AS_IL)