I have put in the follwing patch:

- if CAN_BUILD_CALL_FRAMES is defined, call the JITed version
-   if that returns zero, use the hardcoded version in nci.c
- else use hardcoded version
So you can implement signatures step by step.

If you are going to implement JITted NCI stubs:
1) create a function:
void *
Parrot_jit_build_call_func(Parrot_Interp interpreter, PMC *pmc_nci,
        String *signature)
{
  return NULL;
}

in jit/*/jit_emit.h

2) enable calling this for your architecture in build_tools/build_nativecall.pl near line 180

3) make libnci.$(SO)

4) Implement signatures step by step

5) Have fun

leo



Reply via email to