diff dyncall/dyncall_callvm_mips_n64.c @ 128:9a554d1c4da6

- mips n64 vararg call fixes if non-variadic arguments are floats
author cslag
date Wed, 06 Jul 2016 15:13:43 +0200
parents 67961454902b
children 21537652361e
line wrap: on
line diff
--- a/dyncall/dyncall_callvm_mips_n64.c	Tue Jul 05 14:30:56 2016 +0200
+++ b/dyncall/dyncall_callvm_mips_n64.c	Wed Jul 06 15:13:43 2016 +0200
@@ -234,9 +234,9 @@
   switch(mode) {
     case DC_CALL_C_DEFAULT:
     case DC_CALL_C_MIPS64_N64:
+    case DC_CALL_C_ELLIPSIS:
       vt = &gVT_mips_n64;
       break;
-    case DC_CALL_C_ELLIPSIS:
     case DC_CALL_C_ELLIPSIS_VARARGS:
       vt = &gVT_mips_n64_ellipsis;
       break;