X-Git-Url: http://nitlanguage.org diff --git a/c_src/separate_compiler.sep.0.h b/c_src/separate_compiler.sep.0.h index 8f260cd..8e94258 100644 --- a/c_src/separate_compiler.sep.0.h +++ b/c_src/separate_compiler.sep.0.h @@ -74,7 +74,10 @@ extern const int COLOR_abstract_compiler__AbstractCompiler__compile_main_functio extern const int COLOR_separate_compiler__SeparateCompiler__compile_module_to_c; extern const int COLOR_separate_compiler__SeparateCompiler__do_type_coloring; extern const int COLOR_separate_compiler__SeparateCompiler__compile_type_to_c; +extern const int COLOR_separate_compiler__SeparateCompiler__undead_types; +extern const int COLOR_abstract_collection__Collection__has; extern const int COLOR_abstract_compiler__AbstractCompiler__display_stats; +val* BOX_kernel__Int(long); extern const int COLOR_abstract_compiler__ModelBuilder__write_and_make; void separate_compiler__ModelBuilder__run_separate_compiler(val* self, val* p0, val* p1); extern const int COLOR_separate_compiler__SeparateCompiler___64druntime_type_analysis; @@ -83,9 +86,6 @@ void separate_compiler__SeparateCompiler__runtime_type_analysis_61d(val* self, v extern const int COLOR_separate_compiler__SeparateCompiler___64dundead_types; val* separate_compiler__SeparateCompiler__undead_types(val* self); void separate_compiler__SeparateCompiler__undead_types_61d(val* self, val* p0); -extern const int COLOR_separate_compiler__SeparateCompiler___64dpartial_types; -val* separate_compiler__SeparateCompiler__partial_types(val* self); -void separate_compiler__SeparateCompiler__partial_types_61d(val* self, val* p0); extern const int COLOR_separate_compiler__SeparateCompiler___64dlive_unresolved_types; val* separate_compiler__SeparateCompiler__live_unresolved_types(val* self); void separate_compiler__SeparateCompiler__live_unresolved_types_61d(val* self, val* p0); @@ -149,7 +149,6 @@ extern const int COLOR_abstract_compiler__AbstractCompiler__new_visitor; extern const int COLOR_separate_compiler__SeparateCompiler__compile_color_const; void separate_compiler__SeparateCompiler__compile_color_consts(val* self, val* p0); extern const int COLOR_separate_compiler__SeparateCompiler__color_consts_done; -extern const int COLOR_abstract_collection__Collection__has; extern const struct type type_model__MProperty; extern const int COLOR_separate_compiler__MProperty__const_color; extern const int COLOR_abstract_compiler__AbstractCompiler__provide_declaration; @@ -186,9 +185,13 @@ extern const struct type type_hash_collection__HashSetmodel__MAttribute; extern const int COLOR_abstract_compiler__MModule__properties; extern const struct type type_model__MMethod; extern const struct type type_model__MAttribute; +extern const struct type type_hash_collection__HashSetmodel__MMethodDef; +extern const int COLOR_model__MModule__mclassdefs; +extern const int COLOR_model__MClassDef__mpropdefs; +extern const struct type type_model__MMethodDef; +extern const int COLOR_modelize_property__MPropDef__has_supercall; extern const int COLOR_separate_compiler__SeparateCompiler__runtime_type_analysis; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_super_sends; -extern const int COLOR_collect_super_sends__ModelBuilder__collect_super_sends; extern const int COLOR_model__MPropDef__mclassdef; extern const int COLOR_model__MClassDef__mclass; extern const int COLOR_model__MClass__in_hierarchy; @@ -200,9 +203,6 @@ extern const int COLOR_separate_compiler__SeparateCompiler__method_tables_61d; extern const int COLOR_separate_compiler__SeparateCompiler__method_layout; extern const int COLOR_layout_builders__Layout__pos; extern const int COLOR_separate_compiler__SeparateCompiler__compile_color_consts; -extern const int COLOR_model__MModule__mclassdefs; -extern const int COLOR_model__MClassDef__mpropdefs; -extern const int COLOR_typing__MPropDef__has_supercall; extern const int COLOR_separate_compiler__SeparateCompiler__attr_layout_61d; extern const int COLOR_separate_compiler__SeparateCompiler__build_attr_tables; extern const int COLOR_separate_compiler__SeparateCompiler__attr_tables_61d; @@ -234,10 +234,7 @@ extern const struct type type_hash_collection__HashSetmodel__MType; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_types; extern const int COLOR_abstract_collection__SimpleCollection__add_all; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_cast_types; -extern const int COLOR_separate_compiler__SeparateCompiler__undead_types; extern const int COLOR_abstract_collection__MapRead__keys; -extern const int COLOR_separate_compiler__SeparateCompiler__retrieve_partial_types; -extern const int COLOR_separate_compiler__SeparateCompiler__partial_types; val* NEW_layout_builders__MTypeBMizer(const struct type* type); extern const struct type type_layout_builders__MTypeBMizer; extern const int COLOR_layout_builders__MTypeBMizer__init; @@ -290,24 +287,13 @@ void separate_compiler__SeparateCompiler__compile_resolution_tables(val* self, v extern const struct type type_hash_collection__HashMapmodel__MClassTypearray__Arraynullable_model__MType; extern const struct type type_layout_builders__PHLayoutmodel__MClassTypemodel__MType; val* separate_compiler__SeparateCompiler__build_resolution_tables(val* self, val* p0); -extern const struct type type_model__MGenericType; -extern const int COLOR_model__MClassType__arguments; -extern const int COLOR_model__MType__need_anchor; -extern const struct type type_model__MNullableType; -extern const int COLOR_model__MNullableType__mtype; -extern const struct type type_model__MClassType; -extern const int COLOR_model__MClassType__mclass; -extern const struct type type_model__MVirtualTypeProp; -extern const int COLOR_model__MVirtualTypeProp__mvirtualtype; -extern const int COLOR_model__MVirtualType__lookup_bound; -extern const int COLOR_model__MType__anchor_to; -void separate_compiler__SeparateCompiler__retrieve_partial_types(val* self, val* p0); extern const int COLOR_abstract_compiler__AbstractCompiler__mainmodule_61d; -extern const struct type type_model__MMethodDef; extern const int COLOR_separate_compiler__MMethodDef__separate_runtime_function; extern const int COLOR_abstract_compiler__AbstractRuntimeFunction__compile_to_c; extern const int COLOR_separate_compiler__MMethodDef__virtual_runtime_function; void separate_compiler__SeparateCompiler__compile_module_to_c(val* self, val* p0); +extern const int COLOR_model__MType__need_anchor; +extern const struct type type_model__MClassType; extern const int COLOR_abstract_compiler__MType__c_name; val* NEW_separate_compiler__SeparateCompilerVisitor(const struct type* type); extern const struct type type_separate_compiler__SeparateCompilerVisitor; @@ -315,14 +301,18 @@ extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__init; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_decl; extern const int COLOR_layout_builders__Layout__ids; extern const int COLOR_layout_builders__PHLayout__masks; +extern const struct type type_model__MNullableType; +extern const int COLOR_model__MNullableType__mtype; +extern const int COLOR_separate_compiler__SeparateCompiler__resolution_tables; +extern const int COLOR_abstract_collection__Collection__is_empty; extern const int COLOR_separate_compiler__SeparateCompiler__compile_type_resolution_table; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__require_declaration; extern const int COLOR_separate_compiler__SeparateCompiler__type_tables; void separate_compiler__SeparateCompiler__compile_type_to_c(val* self, val* p0); -extern const int COLOR_separate_compiler__SeparateCompiler__resolution_tables; extern const int COLOR_model__MType__resolve_for; -short int separate_compiler__SeparateCompiler__compile_type_resolution_table(val* self, val* p0); +void separate_compiler__SeparateCompiler__compile_type_resolution_table(val* self, val* p0); extern const int COLOR_abstract_compiler__MClass__c_name; +extern const int COLOR_separate_compiler__MClass__c_instance_name; extern const int COLOR_separate_compiler__SeparateCompiler__method_tables; extern const int COLOR_separate_compiler__SeparateCompiler__attr_tables; extern const int COLOR_rapid_type_analysis__RapidTypeAnalysis__live_classes; @@ -332,8 +322,10 @@ extern const int COLOR_separate_compiler__SeparateCompiler__box_kind_of; extern const int COLOR_abstract_collection__SequenceRead___91d_93d; extern const int COLOR_abstract_compiler__AbstractRuntimeFunction__c_name; extern const int COLOR_model__MClass__intro_mmodule; +extern const int COLOR_model__MClassType__mclass; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__new_named_var; extern const int COLOR_abstract_compiler__RuntimeVariable__is_exact_61d; +extern const int COLOR_model__MClassType__arguments; extern const int COLOR_separate_compiler__SeparateCompiler__hardening_live_type; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_abort; extern const int COLOR_abstract_compiler__AbstractCompiler__generate_init_attr; @@ -359,6 +351,10 @@ extern const int COLOR_separate_compiler__SeparateCompiler__display_stats; extern const int COLOR_separate_compiler__SeparateCompiler__display_sizes; void separate_compiler__SeparateCompiler__display_stats(val* self); void separate_compiler__SeparateCompiler__display_sizes(val* self); +void separate_compiler__SeparateCompiler__compile_nitni_structs(val* self); +extern const int COLOR_modelbuilder__AModule__mmodule; +extern const int COLOR_separate_compiler__SeparateCompiler__finalize_ffi_for_module; +void separate_compiler__SeparateCompiler__finalize_ffi_for_module(val* self, val* p0); extern const int COLOR_model__MMethodDef__msignature; extern const int COLOR_model__MClassDef__mmodule; extern const int COLOR_abstract_compiler__RuntimeVariable__mtype; @@ -369,8 +365,10 @@ extern const int COLOR_model__MSignature__mparameters; extern const int COLOR_model__MParameter__mtype; extern const int COLOR_model__MSignature__vararg_rank; void separate_compiler__SeparateCompilerVisitor__adapt_signature(val* self, val* p0, val* p1); +extern const int COLOR_separate_compiler__MType__c_instance_name; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__new_expr; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__new_var; +extern const int COLOR_nitni_base__MType__cname_blind; val* separate_compiler__SeparateCompilerVisitor__autobox(val* self, val* p0, val* p1); val* separate_compiler__SeparateCompilerVisitor__type_info(val* self, val* p0); extern const int COLOR_model__MProperty__intro; @@ -380,6 +378,7 @@ extern const int COLOR_abstract_compiler__AbstractCompiler__realmainmodule; extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__monomorphic_send; extern const int COLOR_separate_compiler__SeparateCompilerVisitor__table_send; val* separate_compiler__SeparateCompilerVisitor__send(val* self, val* p0, val* p1); +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__debug; extern const int COLOR_model__MSignature__return_mtype; extern const int COLOR_model__MMethod__is_new; val* NEW_string__Buffer(const struct type* type); @@ -422,6 +421,11 @@ extern const int COLOR_abstract_compiler__RuntimeVariable__mcasttype_61d; extern const int COLOR_abstract_compiler__ToolContext__opt_no_check_initialization; val* separate_compiler__SeparateCompilerVisitor__read_attribute(val* self, val* p0, val* p1); void separate_compiler__SeparateCompilerVisitor__write_attribute(val* self, val* p0, val* p1, val* p2); +extern const int COLOR_string__AbstractString__escape_to_c; +void separate_compiler__SeparateCompilerVisitor__hardening_live_open_type(val* self, val* p0); +void separate_compiler__SeparateCompilerVisitor__hardening_cast_type(val* self, val* p0); +extern const struct type type_model__MGenericType; +extern const int COLOR_separate_compiler__SeparateCompilerVisitor__hardening_live_open_type; extern const int COLOR_abstract_compiler__Frame__mpropdef; extern const int COLOR_separate_compiler__SeparateCompilerVisitor__link_unresolved_type; extern const int COLOR_abstract_compiler__Frame__arguments; @@ -432,6 +436,7 @@ extern const int COLOR_model__MType__is_subtype; extern const int COLOR_abstract_compiler__ToolContext__opt_typing_test_metrics; extern const int COLOR_abstract_compiler__AbstractCompiler__count_type_test_skipped; extern const int COLOR_abstract_compiler__AbstractCompiler__count_type_test_unresolved; +extern const int COLOR_separate_compiler__SeparateCompilerVisitor__hardening_cast_type; extern const int COLOR_abstract_compiler__AbstractCompiler__count_type_test_resolved; val* separate_compiler__SeparateCompilerVisitor__type_test(val* self, val* p0, val* p1, val* p2); val* separate_compiler__SeparateCompilerVisitor__is_same_type_test(val* self, val* p0, val* p1); @@ -497,6 +502,9 @@ void separate_compiler__VirtualRuntimeFunction__compile_to_c(val* self, val* p0) extern const int COLOR_abstract_compiler__AbstractRuntimeFunction_VTVISITOR; val* separate_compiler__VirtualRuntimeFunction__call(val* self, val* p0, val* p1); val* separate_compiler__MType__const_color(val* self); +val* separate_compiler__MType__c_instance_name(val* self); +val* separate_compiler__MClassType__c_instance_name(val* self); +val* separate_compiler__MClass__c_instance_name(val* self); extern const int COLOR_abstract_compiler__MProperty__c_name; val* separate_compiler__MProperty__const_color(val* self); val* separate_compiler__MPropDef__const_color(val* self);