From: Gleb Balykov Date: Sun, 26 Apr 2020 01:31:25 +0000 (+0300) Subject: Fix x86 build error related to #35331 (#35462) X-Git-Tag: submit/tizen/20210909.063632~8363 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc9d69203054e5a9ce991b0967800cbecd41822f;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix x86 build error related to #35331 (#35462) --- diff --git a/src/coreclr/src/vm/i386/virtualcallstubcpu.hpp b/src/coreclr/src/vm/i386/virtualcallstubcpu.hpp index ab46a53..b8f9e1a 100644 --- a/src/coreclr/src/vm/i386/virtualcallstubcpu.hpp +++ b/src/coreclr/src/vm/i386/virtualcallstubcpu.hpp @@ -350,8 +350,11 @@ struct ResolveHolder void Initialize(PCODE resolveWorkerTarget, PCODE patcherTarget, size_t dispatchToken, UINT32 hashedToken, - void * cacheAddr, INT32 * counterAddr, - size_t stackArgumentsSize); + void * cacheAddr, INT32 * counterAddr +#ifndef UNIX_X86_ABI + , size_t stackArgumentsSize +#endif + ); ResolveStub* stub() { LIMITED_METHOD_CONTRACT; return &_stub; } @@ -938,8 +941,11 @@ void ResolveHolder::InitializeStatic() void ResolveHolder::Initialize(PCODE resolveWorkerTarget, PCODE patcherTarget, size_t dispatchToken, UINT32 hashedToken, - void * cacheAddr, INT32 * counterAddr, - size_t stackArgumentsSize) + void * cacheAddr, INT32 * counterAddr +#ifndef UNIX_X86_ABI + , size_t stackArgumentsSize +#endif + ) { _stub = resolveInit;