From 07b197feaac57630416d7a4eb8f516b436bc1b37 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Mon, 25 Apr 2016 16:22:58 -0400 Subject: [PATCH] update LambdaInfo definition for cfunction change --- src/jltypes.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/jltypes.c b/src/jltypes.c index 4d573e8994d25..bde4e445f49d8 100644 --- a/src/jltypes.c +++ b/src/jltypes.c @@ -3522,7 +3522,7 @@ void jl_init_types(void) jl_lambda_info_type = jl_new_datatype(jl_symbol("LambdaInfo"), jl_any_type, jl_emptysvec, - jl_svec(25, + jl_svec(24, jl_symbol("code"), jl_symbol("slotnames"), jl_symbol("slottypes"), @@ -3543,9 +3543,9 @@ void jl_init_types(void) jl_symbol("jlcall_api"), jl_symbol(""), jl_symbol("fptr"), - jl_symbol(""), jl_symbol(""), jl_symbol(""), + jl_symbol(""), jl_symbol(""), jl_symbol(""), jl_symbol("")), - jl_svec(25, + jl_svec(24, jl_any_type, jl_array_any_type, jl_any_type, @@ -3566,7 +3566,7 @@ void jl_init_types(void) jl_bool_type, jl_bool_type, jl_any_type, - jl_any_type, jl_any_type, jl_any_type, + jl_any_type, jl_any_type, jl_int32_type, jl_int32_type), 0, 1, 10); jl_svecset(jl_lambda_info_type->types, 9, jl_lambda_info_type); @@ -3622,7 +3622,6 @@ void jl_init_types(void) jl_svecset(jl_lambda_info_type->types, 19, jl_voidpointer_type); jl_svecset(jl_lambda_info_type->types, 20, jl_voidpointer_type); jl_svecset(jl_lambda_info_type->types, 21, jl_voidpointer_type); - jl_svecset(jl_lambda_info_type->types, 22, jl_voidpointer_type); jl_compute_field_offsets(jl_datatype_type); jl_compute_field_offsets(jl_typename_type);