; ; Copyright (c) Microsoft. All rights reserved. ; Licensed under the MIT license. See LICENSE file in the project root for full license information. ; include include AsmConstants.inc extern PreStubWorker:proc extern ProcessCLRException:proc NESTED_ENTRY ThePreStub, _TEXT, ProcessCLRException PROLOG_WITH_TRANSITION_BLOCK ; ; call PreStubWorker ; lea rcx, [rsp + __PWTB_TransitionBlock] ; pTransitionBlock* mov rdx, METHODDESC_REGISTER call PreStubWorker EPILOG_WITH_TRANSITION_BLOCK_TAILCALL TAILJMP_RAX NESTED_END ThePreStub, _TEXT LEAF_ENTRY ThePreStubPatch, _TEXT ; make sure that the basic block is unique test eax,34 PATCH_LABEL ThePreStubPatchLabel ret LEAF_END ThePreStubPatch, _TEXT end