Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Update stub dispatch hidden argument convention for CoreRT #14120

Merged
merged 2 commits into from
Sep 21, 2017

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Sep 21, 2017

No description provided.

@@ -75,7 +75,7 @@ NOTE: This optimization is now disabled for all platforms (`IsStructRequiringSta

## Hidden parameters

*Stub dispatch* - when a virtual call uses a VSD stub, rather than back-patching the calling code (or disassembling it), the JIT must place the address of the stub used to load the call target, the "stub indirection cell", in (x86) `EAX` / (AMD64) `R11` / (ARM) `R4` / (ARM64) `R11`. In the JIT, this is `REG_VIRTUAL_STUB_PARAM`.
*Stub dispatch* - when a virtual call uses a VSD stub, rather than back-patching the calling code (or disassembling it), the JIT must place the address of the stub used to load the call target, the "stub indirection cell", in (x86) `EAX` / (AMD64) `R11` / (AMD64 CoreRT ABI) `R10` / (ARM) `R4` / (ARM CoreRT ABI) `R12` / (ARM64) `R11`. In the JIT, this is `VirtualStubParamInfo`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I would say: In the JIT, this is encapsulated in the VirtualStubParamInfo class.

@jkotas jkotas merged commit 54896fe into dotnet:master Sep 21, 2017
@jkotas jkotas deleted the abi-update branch September 22, 2017 00:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants