search for: interface_group_ptr

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

2013 Sep 03
1
[LLVMdev] X86_thiscall
...using the JIT compiler. The following code is used to register the pointer to the function. as_ptr retrieves the address of a member function pointer. Yes, this is a bit of a hack, but it works (I have tested it in other situations). vector<llvm::Type *> arguments; arguments.push_back(interface_group_ptr); arguments.push_back(any); arguments.push_back(instance_ptr); auto get_interface_type=FunctionType::get(any, arguments, false); interface_group_get_interface=Function::Create(get_interface_type, Function::ExternalLinkage, "get_interface", llvm_module); interface_group_get...