comparison dyncall/dyncall_callvm_x86.c @ 365:1d03a3a4220d

- fixing issue after having aliased gnu thiscalls to cdecl with a duped switch label
author Tassilo Philipp
date Tue, 14 Apr 2020 19:58:31 +0200
parents ab2d78e48ca2
children ad5f9803f52f
comparison
equal deleted inserted replaced
364:3bdd326dc269 365:1d03a3a4220d
584 case DC_CALL_C_ELLIPSIS_VARARGS: 584 case DC_CALL_C_ELLIPSIS_VARARGS:
585 /* Plan9 (and forks) have their own calling convention (and no support for foreign ones). */ 585 /* Plan9 (and forks) have their own calling convention (and no support for foreign ones). */
586 #if defined(DC_PLAN9) 586 #if defined(DC_PLAN9)
587 case DC_CALL_C_X86_PLAN9: vt = &gVT_x86_plan9; break; 587 case DC_CALL_C_X86_PLAN9: vt = &gVT_x86_plan9; break;
588 #else 588 #else
589 case DC_CALL_C_X86_CDECL: vt = &gVT_x86_cdecl; break; 589 case DC_CALL_C_X86_CDECL: vt = &gVT_x86_cdecl; break; // also handles DC_CALL_C_X86_WIN32_THIS_GNU
590 case DC_CALL_C_X86_WIN32_STD: vt = &gVT_x86_win32_std; break; 590 case DC_CALL_C_X86_WIN32_STD: vt = &gVT_x86_win32_std; break;
591 case DC_CALL_C_X86_WIN32_FAST_MS: vt = &gVT_x86_win32_fast_ms; break; 591 case DC_CALL_C_X86_WIN32_FAST_MS: vt = &gVT_x86_win32_fast_ms; break;
592 case DC_CALL_C_X86_WIN32_THIS_MS: vt = &gVT_x86_win32_this_ms; break; 592 case DC_CALL_C_X86_WIN32_THIS_MS: vt = &gVT_x86_win32_this_ms; break;
593 case DC_CALL_C_X86_WIN32_FAST_GNU: vt = &gVT_x86_win32_fast_gnu; break; 593 case DC_CALL_C_X86_WIN32_FAST_GNU: vt = &gVT_x86_win32_fast_gnu; break;
594 case DC_CALL_C_X86_WIN32_THIS_GNU: vt = &gVT_x86_cdecl; break;
595 case DC_CALL_SYS_DEFAULT: 594 case DC_CALL_SYS_DEFAULT:
596 # if defined DC_UNIX 595 # if defined DC_UNIX
597 # if defined DC__OS_Linux 596 # if defined DC__OS_Linux
598 vt = &gVT_x86_syscall_int80h_linux; break; 597 vt = &gVT_x86_syscall_int80h_linux; break;
599 # else 598 # else