mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
General cleanup, more native platform detection.
This commit is contained in:
committed by
Christoffer Lerno
parent
73351e0aa9
commit
bf5683b41c
@@ -4712,7 +4712,7 @@ void llvm_emit_call_expr(GenContext *c, BEValue *result_value, Expr *expr)
|
||||
LLVMValueRef call_value = LLVMBuildCall2(c->builder, func_type, func, values, vec_size(values), "");
|
||||
if (prototype->call_abi)
|
||||
{
|
||||
LLVMSetInstructionCallConv(call_value, llvm_call_convention_from_call(prototype->call_abi, platform_target.arch, platform_target.os));
|
||||
LLVMSetInstructionCallConv(call_value, llvm_call_convention_from_call(prototype->call_abi));
|
||||
}
|
||||
if (expr->call_expr.force_noinline)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user