- add support in the jit compiler to do direct native calls using the x64 calling convention
This commit is contained in:
parent
a5ee673c91
commit
3ba6290419
4 changed files with 234 additions and 274 deletions
|
|
@ -464,6 +464,9 @@ public:
|
|||
// Return value is the number of results.
|
||||
NativeCallType NativeCall;
|
||||
|
||||
// Function pointer to a native function to be called directly by the JIT using the platform calling convention
|
||||
void *DirectNativeCall = nullptr;
|
||||
|
||||
private:
|
||||
static int NativeScriptCall(VMFunction *func, VMValue *params, int numparams, VMReturn *ret, int numret);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue