mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-30 17:01:31 +00:00
Fix #6202
This commit is contained in:
@@ -983,7 +983,9 @@ gb_internal lbValue lb_emit_call_internal(lbProcedure *p, lbValue value, lbValue
|
||||
break;
|
||||
case ProcTailing_must_tail:
|
||||
LLVMSetTailCall(ret, true);
|
||||
#if LLVM_VERSION_MAJOR > 14
|
||||
LLVMSetTailCallKind(ret, LLVMTailCallKindMustTail);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user