mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-07 02:54:18 +00:00
Correct race condition and incorrect usage of condition_signal outside of a mutex lock
This commit is contained in:
@@ -676,6 +676,8 @@ lbValue lb_emit_call_internal(lbProcedure *p, lbValue value, lbValue return_ptr,
|
||||
for (unsigned i = 0; i < param_count; i++) {
|
||||
LLVMTypeRef param_type = param_types[i];
|
||||
LLVMTypeRef arg_type = LLVMTypeOf(args[i]);
|
||||
// LLVMTypeKind param_kind = LLVMGetTypeKind(param_type);
|
||||
// LLVMTypeKind arg_kind = LLVMGetTypeKind(arg_type);
|
||||
GB_ASSERT_MSG(
|
||||
arg_type == param_type,
|
||||
"Parameter types do not match: %s != %s, argument: %s",
|
||||
|
||||
Reference in New Issue
Block a user