Displaying 1 result from an estimated 1 matches for "interface_group_vari".
2013 Sep 03
1
[LLVMdev] X86_thiscall
...setCallingConv(CallingConv::X86_ThisCall);
execution_engine->addGlobalMapping(interface_group_get_interface, (void
*)as_ptr(&InterfaceGroup::get_interface));
The following call generates the code for the call:
vector<Value *>
get_interface_args; get_interface_args.push_back(interface_group_variable);
get_interface_args.push_back(requested_type); get_interface_args.push_bac
k(ptr_this); auto
result=llvm_builder.CreateCall(module->interface_group_get_interface,
get_interface_args);
Now the problem is that the generated code does not actually seem to be
using the thiscall calling c...