Skip to content

Commit 416217e

Browse files
committed
split off typemap into its own file
1 parent c28ef78 commit 416217e

File tree

5 files changed

+1139
-1104
lines changed

5 files changed

+1139
-1104
lines changed

src/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ endif
2626

2727

2828
SRCS := \
29-
jltypes gf ast builtins module interpreter \
29+
jltypes gf typemap ast builtins module interpreter \
3030
alloc dlload sys init task array dump toplevel jl_uv jlapi signal-handling \
3131
simplevector APInt-C runtime_intrinsics runtime_ccall \
3232
threadgroup threading stackwalk

src/alloc.c

-11
Original file line numberDiff line numberDiff line change
@@ -740,17 +740,6 @@ jl_sym_t *jl_demangle_typename(jl_sym_t *s)
740740
return jl_symbol_n(&n[1], len);
741741
}
742742

743-
jl_typemap_level_t *jl_new_typemap_level(void)
744-
{
745-
jl_typemap_level_t *cache = (jl_typemap_level_t*)jl_gc_allocobj(sizeof(jl_typemap_level_t));
746-
jl_set_typeof(cache, jl_typemap_level_type);
747-
cache->key = NULL;
748-
cache->linear = (jl_typemap_entry_t*)jl_nothing;
749-
cache->arg1 = (jl_array_t*)jl_nothing;
750-
cache->targ = (jl_array_t*)jl_nothing;
751-
return cache;
752-
}
753-
754743
JL_DLLEXPORT jl_methtable_t *jl_new_method_table(jl_sym_t *name, jl_module_t *module)
755744
{
756745
jl_methtable_t *mt = (jl_methtable_t*)jl_gc_allocobj(sizeof(jl_methtable_t));

0 commit comments

Comments
 (0)