search for: methodx

Displaying 1 result from an estimated 1 matches for "methodx".

Did you mean: method
2014 Nov 29
3
[LLVMdev] Frontend: How to use Member to Function Pointer as callbacks
...3 we know X is 3 -- it will need assembly, might be difficult to compute and won't be portable...) - ThunkIdToFuncPtr[X] would give us the actual method to forward to - RedirectMethodFuncWithIntParameter would call ThunkIdToFuncPtr[X](arg1) This design allow to use the slot number X of MethodX to differentiate the actual C# callback to call (code is small, so OK to have many, 4096 in this case), but still have only ONE actual dispatcher/redirect method per signature (code is much bigger). Does that seem feasible? I don't like the fact that I would have to step out of LLVM bitcode an...