From 93531aa856e6c25c967ddcf821277680639920a2 Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Mon, 10 Jul 2017 14:19:09 -0400 Subject: [PATCH] fix field types of Method type --- src/jltypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jltypes.c b/src/jltypes.c index 0e941e1f7464f..6cc7c2e074bf0 100644 --- a/src/jltypes.c +++ b/src/jltypes.c @@ -2081,8 +2081,8 @@ void jl_init_types(void) jl_svecset(jl_methtable_type->types, 7, jl_int32_type); // DWORD #endif jl_svecset(jl_methtable_type->types, 8, jl_int32_type); // uint32_t + jl_svecset(jl_method_type->types, 10, jl_method_instance_type); jl_svecset(jl_method_type->types, 11, jl_method_instance_type); - jl_svecset(jl_method_type->types, 12, jl_method_instance_type); jl_svecset(jl_method_instance_type->types, 12, jl_voidpointer_type); jl_svecset(jl_method_instance_type->types, 13, jl_voidpointer_type); jl_svecset(jl_method_instance_type->types, 14, jl_voidpointer_type);