diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-05-09 23:49:16 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-05-09 23:49:16 +0300 |
commit | f636ccad5b842adf37d609bd525cdf08bec54ee5 (patch) | |
tree | 32bc96ee7ebf7de9dbe174b432922157e30173cb /src/Native/Runtime/i386 | |
parent | 10937141e974d5788d1b4f4a23cf0e205ef661c1 (diff) |
Pass return address explicitly to RhpReversePInvokeBadTransition
This eliminates need for BinderIntrinsics.GetReturnAddress() and CORERT ifdef
[tfs-changeset: 1603077]
Diffstat (limited to 'src/Native/Runtime/i386')
-rw-r--r-- | src/Native/Runtime/i386/PInvoke.asm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Native/Runtime/i386/PInvoke.asm b/src/Native/Runtime/i386/PInvoke.asm index 2e0c0ca9d..60559f738 100644 --- a/src/Native/Runtime/i386/PInvoke.asm +++ b/src/Native/Runtime/i386/PInvoke.asm @@ -205,6 +205,7 @@ ReverseTrapReturningThread: BadTransition: pop edx pop ecx + mov ecx, dword ptr [esp] ; arg <- return address jmp RhpReversePInvokeBadTransition FASTCALL_ENDFUNC |