nac3/nac3core/src/codegen
David Mak cb39f61e79 core: Fix passing structure arguments to extern functions
All parameters with a structure type in extern functions are marked as
`byref` instead of `byval`, as most ABIs require the first several
arguments to be passed in registers before spilling into the stack.

`byval` breaks this contract by explicitly requiring all arguments to be
 passed in the stack, breaking interop with libraries written in other
 languages.
2023-09-28 15:02:35 +08:00
..
irrt core: Add name to build_gep_and_load 2023-09-22 17:16:29 +08:00
concrete_type.rs basic unsigned integer support 2022-03-08 13:34:02 +08:00
expr.rs core: Fix passing structure arguments to extern functions 2023-09-28 15:02:35 +08:00
generator.rs meta: Improve documentation for various modified classes 2023-09-25 15:42:07 +08:00
mod.rs meta: Improve documentation for various modified classes 2023-09-25 15:42:07 +08:00
stmt.rs meta: Improve documentation for various modified classes 2023-09-25 15:42:07 +08:00
test.rs core: Remove emit_llvm from CodeGenLLVMOptions 2023-09-22 17:16:29 +08:00