mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-29 08:21:32 +00:00
Merge pull request #7435 from kalsprite/asm_group_empty_params
Delete dead code that crashed the checker on an asm template group with no parameters
This commit is contained in:
@@ -3723,14 +3723,6 @@ gb_internal ProcTypeOverloadKind are_proc_types_overload_safe(Type *x, Type *y)
|
||||
return ProcOverload_TargetFeatures;
|
||||
}
|
||||
|
||||
if (px.params != nullptr && py.params != nullptr) {
|
||||
Entity *ex = px.params->Tuple.variables[0];
|
||||
Entity *ey = py.params->Tuple.variables[0];
|
||||
bool ok = are_types_identical(ex->type, ey->type);
|
||||
if (ok) {
|
||||
}
|
||||
}
|
||||
|
||||
return ProcOverload_Identical;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user