You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be interesting to call X# methods from IL (C#) using ldftn/calli. The assembler plug would be replaced with managed code, which means better portability.
We just need to handle the attribute in ldftn, where we just emit push label.
Possible issues
In the debug stub assembler plugs, we currently ifdef the calls, because the debug stub may be disabled (i.e. it's not emitted), so we need to handle that somehow.
Calling conventions.
The text was updated successfully, but these errors were encountered:
I think it would be interesting to call X# methods from IL (C#) using
ldftn
/calli
. The assembler plug would be replaced with managed code, which means better portability.Example
We just need to handle the attribute in
ldftn
, where we just emitpush label
.Possible issues
ifdef
the calls, because the debug stub may be disabled (i.e. it's not emitted), so we need to handle that somehow.The text was updated successfully, but these errors were encountered: