Skip to content

Commit 52e4f3a

Browse files
committed
remove another bit of dead code from specializing on all tuples
1 parent 01c871c commit 52e4f3a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/gf.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -442,15 +442,6 @@ static int very_general_type(jl_value_t *t)
442442
((jl_tvar_t*)t)->ub==(jl_value_t*)jl_any_type)));
443443
}
444444

445-
static int tuple_all_Any(jl_tupletype_t *t)
446-
{
447-
for(int i=0; i < jl_nparams(t); i++) {
448-
if (jl_tparam(t,i) != (jl_value_t*)jl_any_type)
449-
return 0;
450-
}
451-
return 1;
452-
}
453-
454445
static int is_kind(jl_value_t *v)
455446
{
456447
return (v==(jl_value_t*)jl_uniontype_type ||

0 commit comments

Comments
 (0)