Add -show-system-calls; Update runtime for windows_386; Fix some minor bugs

This commit is contained in:
gingerBill
2020-06-30 10:09:58 +01:00
parent 0ea64182f1
commit 92363da58e
7 changed files with 48 additions and 9 deletions

View File

@@ -519,6 +519,9 @@ bool sig_compare(TypeCheckSig *a, TypeCheckSig *b, Type *x, Type *y) {
}
bool signature_parameter_similar_enough(Type *x, Type *y) {
x = core_type(x);
y = core_type(y);
if (sig_compare(is_type_pointer, x, y)) {
return true;
}