call supports variadic template if possible

This commit is contained in:
MITSUNARI Shigeo 2015-07-22 22:32:08 +09:00
parent df615b7581
commit 1e208fd202
5 changed files with 18 additions and 4 deletions

View file

@ -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();