Displaying 1 result from an estimated 1 matches for "ptr_this".
Did you mean:
prathis
2013 Sep 03
1
[LLVMdev] X86_thiscall
...terface, (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 convention specified for the called function:
0011001B mov dword ptr [esp+8],eax 0011...