Skip to content
  • dmp's avatar
    Ignore stdcall c-call in native codegen on x86_64 · 521157f9
    dmp authored and dterei's avatar dterei committed
    
    
    The stdcall calling convention is not supported on x86_64.
    When an ffi import requests stdcall, a warning is issued as
    desired by #3336. However, the native codegen was still
    generating code that expected the callee to cleanup the
    stack arguments when calling a c function that requests
    stdcall.
    
    This patch changes the codegen to actually use the ccall
    calling convention as intended.
    
    Signed-off-by: default avatarDavid Terei <davidterei@gmail.com>
    521157f9