call supports variadic template if possible
This commit is contained in:
parent
df615b7581
commit
1e208fd202
5 changed files with 18 additions and 4 deletions
|
@ -74,7 +74,11 @@ public:
|
|||
#else
|
||||
mov(eax, ptr [esp + 4]);
|
||||
push(eax);
|
||||
#ifdef XBYAK_VARIADIC_TEMPLATE
|
||||
call(atoi);
|
||||
#else
|
||||
call(Xbyak::CastTo<void*>(atoi));
|
||||
#endif
|
||||
add(esp, 4);
|
||||
#endif
|
||||
ret();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue