Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/vm/i386/asmhelpers.S
Original file line number Diff line number Diff line change
Expand Up @@ -1117,11 +1117,19 @@ LOCAL_LABEL(main_loop):
// be quick to reset the counter so we don't get a bunch of contending threads
mov dword ptr [edx], CALL_STUB_CACHE_INITIAL_SUCCESS_COUNT

#define STACK_ALIGN_PADDING 12
sub esp, STACK_ALIGN_PADDING

// promote the entry to the beginning of the chain
mov ecx, eax

CHECK_STACK_ALIGNMENT
// call C_FUNC(VirtualCallStubManager::PromoteChainEntry)
call C_FUNC(_ZN22VirtualCallStubManager17PromoteChainEntryEP16ResolveCacheElem)

add esp, STACK_ALIGN_PADDING
#undef STACK_ALIGN_PADDING

LOCAL_LABEL(nopromote):

pop ecx
Expand Down