Mercurial > pub > dyncall > dyncall
diff 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 |
line wrap: on
line diff
--- a/dyncall/dyncall_callvm_x86.c Tue Apr 14 19:35:30 2020 +0200 +++ b/dyncall/dyncall_callvm_x86.c Tue Apr 14 19:58:31 2020 +0200 @@ -586,12 +586,11 @@ #if defined(DC_PLAN9) case DC_CALL_C_X86_PLAN9: vt = &gVT_x86_plan9; break; #else - case DC_CALL_C_X86_CDECL: vt = &gVT_x86_cdecl; break; + case DC_CALL_C_X86_CDECL: vt = &gVT_x86_cdecl; break; // also handles DC_CALL_C_X86_WIN32_THIS_GNU case DC_CALL_C_X86_WIN32_STD: vt = &gVT_x86_win32_std; break; case DC_CALL_C_X86_WIN32_FAST_MS: vt = &gVT_x86_win32_fast_ms; break; case DC_CALL_C_X86_WIN32_THIS_MS: vt = &gVT_x86_win32_this_ms; break; case DC_CALL_C_X86_WIN32_FAST_GNU: vt = &gVT_x86_win32_fast_gnu; break; - case DC_CALL_C_X86_WIN32_THIS_GNU: vt = &gVT_x86_cdecl; break; case DC_CALL_SYS_DEFAULT: # if defined DC_UNIX # if defined DC__OS_Linux