Merge branch 'master' into merge-2.095

Conflicts:
	runtime/phobos
This commit is contained in:
Martin Kinkelin 2020-12-03 21:34:29 +01:00
commit 3eab44153a
2 changed files with 1 additions and 20 deletions

View file

@ -1382,22 +1382,3 @@ DValue *DtoArgument(Parameter *fnarg, Expression *argexp) {
return arg;
}
////////////////////////////////////////////////////////////////////////////////
int binary(const char *p, const char **tab, int high) {
int i = 0, j = high, k, l;
do {
k = (i + j) / 2;
l = strcmp(p, tab[k]);
if (!l) {
return k;
}
if (l < 0) {
j = k;
} else {
i = k + 1;
}
} while (i != j);
return -1;
}