X-Git-Url: http://nitlanguage.org diff --git a/c_src/separate_erasure_compiler.sep.0.h b/c_src/separate_erasure_compiler.sep.0.h new file mode 100644 index 0000000..882dd19 --- /dev/null +++ b/c_src/separate_erasure_compiler.sep.0.h @@ -0,0 +1,257 @@ +#include "nit.common.h" +extern const int COLOR_separate_erasure_compiler__ToolContext___64dopt_erasure; +val* separate_erasure_compiler__ToolContext__opt_erasure(val* self); +void separate_erasure_compiler__ToolContext__opt_erasure_61d(val* self, val* p0); +extern const int COLOR_separate_erasure_compiler__ToolContext___64dopt_no_check_erasure_cast; +val* separate_erasure_compiler__ToolContext__opt_no_check_erasure_cast(val* self); +void separate_erasure_compiler__ToolContext__opt_no_check_erasure_cast_61d(val* self, val* p0); +extern const int COLOR_separate_erasure_compiler__ToolContext__init; +extern const int COLOR_toolcontext__ToolContext__option_context; +extern const int COLOR_separate_erasure_compiler__ToolContext__opt_erasure; +extern const int COLOR_separate_erasure_compiler__ToolContext__opt_no_check_erasure_cast; +val* NEW_array__Array(const struct type* type); +extern const struct type type_array__Arrayopts__Option; +val* NEW_array__NativeArray(int length, const struct type* type); +extern const struct type type_array__NativeArrayopts__Option; +extern const int COLOR_array__Array__with_native; +void CHECK_NEW_array__Array(val*); +extern const int COLOR_opts__OptionContext__add_option; +void separate_erasure_compiler__ToolContext__init(val* self); +extern const int COLOR_time__Object__get_time; +extern const int COLOR_modelbuilder__ModelBuilder__toolcontext; +val* string__NativeString__to_s_with_length(char* self, long p0); +extern const int COLOR_toolcontext__ToolContext__info; +val* NEW_separate_erasure_compiler__SeparateErasureCompiler(const struct type* type); +extern const struct type type_separate_erasure_compiler__SeparateErasureCompiler; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__init; +void CHECK_NEW_separate_erasure_compiler__SeparateErasureCompiler(val*); +extern const int COLOR_abstract_compiler__AbstractCompiler__compile_header; +extern const int COLOR_model_base__MModule__name; +extern const struct type type_array__Arraykernel__Object; +extern const struct type type_array__NativeArraykernel__Object; +extern const int COLOR_string__Object__to_s; +extern const int COLOR_abstract_compiler__AbstractCompiler__new_file; +extern const int COLOR_separate_compiler__SeparateCompiler__do_property_coloring; +extern const int COLOR_model_base__MModule__in_importation; +extern const int COLOR_poset__POSetElement__greaters; +extern const int COLOR_abstract_collection__Collection__iterator; +extern const int COLOR_abstract_collection__Iterator__is_ok; +extern const int COLOR_abstract_collection__Iterator__item; +extern const int COLOR_model__MModule__intro_mclasses; +extern const int COLOR_separate_compiler__SeparateCompiler__compile_class_to_c; +extern const int COLOR_abstract_collection__Iterator__next; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__vt_layout; +extern const int COLOR_layout_builders__Layout__pos; +extern const int COLOR_separate_compiler__SeparateCompiler__compile_color_consts; +extern const int COLOR_abstract_compiler__AbstractCompiler__compile_main_function; +extern const int COLOR_separate_compiler__SeparateCompiler__compile_module_to_c; +extern const int COLOR_abstract_compiler__AbstractCompiler__display_stats; +extern const int COLOR_abstract_compiler__ModelBuilder__write_and_make; +void separate_erasure_compiler__ModelBuilder__run_separate_erasure_compiler(val* self, val* p0, val* p1); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler___64dclass_layout; +val* separate_erasure_compiler__SeparateErasureCompiler__class_layout(val* self); +void separate_erasure_compiler__SeparateErasureCompiler__class_layout_61d(val* self, val* p0); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler___64dvt_layout; +val* separate_erasure_compiler__SeparateErasureCompiler__vt_layout(val* self); +void separate_erasure_compiler__SeparateErasureCompiler__vt_layout_61d(val* self, val* p0); +extern const int COLOR_separate_compiler__SeparateCompiler__init; +val* NEW_hash_collection__HashSet(const struct type* type); +extern const struct type type_hash_collection__HashSetmodel__MClass; +extern const int COLOR_modelbuilder__ModelBuilder__model; +extern const int COLOR_model__Model__mclasses; +extern const int COLOR_hash_collection__HashSet__from; +void CHECK_NEW_hash_collection__HashSet(val*); +val* NEW_layout_builders__MClassColorer(const struct type* type); +extern const struct type type_layout_builders__MClassColorer; +extern const int COLOR_layout_builders__MClassColorer__init; +void CHECK_NEW_layout_builders__MClassColorer(val*); +extern const int COLOR_abstract_compiler__AbstractCompiler__modelbuilder; +extern const int COLOR_separate_compiler__ToolContext__opt_phmod_typing; +extern const int COLOR_opts__Option__value; +val* NEW_layout_builders__MClassHasher(const struct type* type); +extern const struct type type_layout_builders__MClassHasher; +val* NEW_layout_builders__PHModOperator(const struct type* type); +extern const struct type type_layout_builders__PHModOperator; +extern const int COLOR_layout_builders__PHModOperator__init; +void CHECK_NEW_layout_builders__PHModOperator(val*); +extern const int COLOR_layout_builders__MClassHasher__init; +void CHECK_NEW_layout_builders__MClassHasher(val*); +extern const int COLOR_layout_builders__TypingLayoutBuilder__build_layout; +extern const int COLOR_separate_compiler__ToolContext__opt_phand_typing; +val* NEW_layout_builders__PHAndOperator(const struct type* type); +extern const struct type type_layout_builders__PHAndOperator; +extern const int COLOR_layout_builders__PHAndOperator__init; +void CHECK_NEW_layout_builders__PHAndOperator(val*); +extern const int COLOR_separate_compiler__ToolContext__opt_bm_typing; +val* NEW_layout_builders__MClassBMizer(const struct type* type); +extern const struct type type_layout_builders__MClassBMizer; +extern const int COLOR_layout_builders__MClassBMizer__init; +void CHECK_NEW_layout_builders__MClassBMizer(val*); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__class_layout_61d; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__build_class_typing_tables; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__class_tables_61d; +val* NEW_hash_collection__HashMap(const struct type* type); +extern const struct type type_hash_collection__HashMapmodel__MClassabstract_collection__Setmodel__MVirtualTypeProp; +extern const int COLOR_hash_collection__HashMap__init; +void CHECK_NEW_hash_collection__HashMap(val*); +extern const struct type type_hash_collection__HashSetmodel__MVirtualTypeProp; +extern const int COLOR_hash_collection__HashSet__init; +extern const int COLOR_abstract_collection__Map___91d_93d_61d; +extern const int COLOR_abstract_compiler__AbstractCompiler__mainmodule; +extern const int COLOR_abstract_compiler__MModule__properties; +extern const struct type type_model__MVirtualTypeProp; +extern const int COLOR_abstract_collection__MapRead___91d_93d; +extern const int COLOR_abstract_collection__SimpleCollection__add; +val* NEW_layout_builders__MPropertyColorer(const struct type* type); +extern const struct type type_layout_builders__MPropertyColorermodel__MVirtualTypeProp; +extern const int COLOR_layout_builders__MPropertyColorer__init; +void CHECK_NEW_layout_builders__MPropertyColorer(val*); +extern const int COLOR_layout_builders__PropertyLayoutBuilder__build_layout; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__build_vt_tables; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__vt_tables_61d; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__vt_layout_61d; +void separate_erasure_compiler__SeparateErasureCompiler__init(val* self, val* p0, val* p1, val* p2); +extern const struct type type_hash_collection__HashMapmodel__MClassarray__Arraynullable_model__MPropDef; +extern const struct type type_array__Arraynullable_model__MPropDef; +extern const int COLOR_array__Array__init; +extern const struct type type_array__Arraymodel__MClass; +extern const int COLOR_model__MModule__flatten_mclass_hierarchy; +extern const int COLOR_abstract_collection__Collection__has; +extern const int COLOR_model__MClass__in_hierarchy; +extern const int COLOR_array__Collection__to_a; +extern const int COLOR_model__MModule__linearize_mclasses; +extern const int COLOR_kernel__Object___61d_61d; +extern const int COLOR_abstract_collection__Collection__length; +extern const struct type type_kernel__Int; +val* NEW_range__Range(const struct type* type); +extern const struct type type_range__Rangekernel__Int; +extern const int COLOR_range__Range__without_last; +void CHECK_NEW_range__Range(val*); +extern const int COLOR_abstract_collection__Sequence___91d_93d_61d; +extern const int COLOR_model__MProperty__mpropdefs; +extern const int COLOR_model__MPropDef__mclassdef; +extern const int COLOR_model__MClassDef__mclass; +val* separate_erasure_compiler__SeparateErasureCompiler__build_vt_tables(val* self, val* p0, val* p1); +extern const struct type type_hash_collection__HashMapmodel__MClassarray__Arraynullable_model__MClass; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__class_layout; +extern const struct type type_array__Arraynullable_model__MClass; +extern const struct type type_layout_builders__PHLayoutmodel__MClassmodel__MClass; +extern const int COLOR_layout_builders__PHLayout__hashes; +val* separate_erasure_compiler__SeparateErasureCompiler__build_class_typing_tables(val* self, val* p0); +extern const int COLOR_abstract_compiler__AbstractCompiler__header; +extern const int COLOR_abstract_compiler__CodeWriter__add_decl; +extern const int COLOR_separate_compiler__SeparateCompiler__compile_header_attribute_structs; +extern const struct type type_layout_builders__PHLayoutmodel__MClassmodel__MVirtualTypeProp; +void separate_erasure_compiler__SeparateErasureCompiler__compile_header_structs(val* self); +extern const int COLOR_model__MClass__intro; +extern const int COLOR_model__MClassDef__bound_mtype; +extern const int COLOR_abstract_compiler__MClass__c_name; +extern const int COLOR_separate_compiler__SeparateCompiler__method_tables; +extern const int COLOR_separate_compiler__SeparateCompiler__attr_tables; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__class_tables; +extern const int COLOR_abstract_compiler__AbstractCompiler__new_visitor; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_decl; +extern const int COLOR_abstract_compiler__AbstractCompiler__provide_declaration; +extern const int COLOR_layout_builders__Layout__ids; +extern const int COLOR_model__MClass__name; +extern const int COLOR_separate_compiler__SeparateCompiler__box_kind_of; +extern const int COLOR_layout_builders__PHLayout__masks; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__build_class_vts_table; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__require_declaration; +extern const int COLOR_abstract_collection__SequenceRead___91d_93d; +extern const int COLOR_abstract_compiler__MType__ctype; +extern const int COLOR_kernel__Object___33d_61d; +extern const int COLOR_abstract_compiler__MPropDef__c_name; +extern const int COLOR_model__MClass__intro_mmodule; +extern const int COLOR_abstract_compiler__MType__c_name; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add; +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_abstract_collection__Collection__first; +extern const int COLOR_abstract_compiler__AbstractCompiler__generate_init_attr; +extern const int COLOR_abstract_compiler__AbstractCompiler__generate_check_init_instance; +void separate_erasure_compiler__SeparateErasureCompiler__compile_class_to_c(val* self, val* p0); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__vt_tables; +extern const int COLOR_abstract_collection__Collection__is_empty; +extern const struct type type_model__MVirtualTypeDef; +extern const int COLOR_model__MVirtualTypeDef__bound; +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler__retrieve_vt_bound; +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; +short int separate_erasure_compiler__SeparateErasureCompiler__build_class_vts_table(val* self, val* p0); +extern const int COLOR_file__Object__print; +extern const struct type type_model__MVirtualType; +extern const int COLOR_model__MType__anchor_to; +extern const struct type type_model__MParameterType; +val* separate_erasure_compiler__SeparateErasureCompiler__retrieve_vt_bound(val* self, val* p0, val* p1); +val* NEW_separate_erasure_compiler__SeparateErasureCompilerVisitor(const struct type* type); +extern const struct type type_separate_erasure_compiler__SeparateErasureCompilerVisitor; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__init; +void CHECK_NEW_separate_erasure_compiler__SeparateErasureCompilerVisitor(val*); +extern const int COLOR_abstract_compiler__AbstractCompiler_VTVISITOR; +val* separate_erasure_compiler__SeparateErasureCompiler__new_visitor(val* self); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler___64dclass_tables; +val* separate_erasure_compiler__SeparateErasureCompiler__class_tables(val* self); +void separate_erasure_compiler__SeparateErasureCompiler__class_tables_61d(val* self, val* p0); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompiler___64dvt_tables; +val* separate_erasure_compiler__SeparateErasureCompiler__vt_tables(val* self); +void separate_erasure_compiler__SeparateErasureCompiler__vt_tables_61d(val* self, val* p0); +extern const int COLOR_abstract_collection__MapRead__iterator; +extern const int COLOR_abstract_collection__MapIterator__is_ok; +extern const int COLOR_abstract_collection__MapIterator__key; +extern const int COLOR_abstract_collection__MapIterator__item; +extern const int COLOR_abstract_collection__MapIterator__next; +void separate_erasure_compiler__SeparateErasureCompiler__display_sizes(val* self); +extern const int COLOR_separate_erasure_compiler__SeparateErasureCompilerVisitor__compile_callsite; +extern const int COLOR_typing__CallSite__erasure_cast; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__compiler; +extern const int COLOR_typing__CallSite__msignature; +extern const int COLOR_model__MSignature__return_mtype; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__type_test; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__add_abort; +val* separate_erasure_compiler__SeparateErasureCompilerVisitor__compile_callsite(val* self, val* p0, val* p1); +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__new_expr; +val* separate_erasure_compiler__SeparateErasureCompilerVisitor__init_instance(val* self, val* p0); +extern const int COLOR_string__Object__inspect; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__bool_type; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__new_var; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__get_name; +extern const int COLOR_separate_compiler__SeparateCompilerVisitor__maybe_null; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__frame; +extern const int COLOR_abstract_compiler__Frame__mpropdef; +extern const int COLOR_model__MClassDef__mmodule; +extern const int COLOR_model__MType__resolve_for; +extern const int COLOR_abstract_compiler__RuntimeVariable__mcasttype; +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__RuntimeVariable__mtype; +extern const int COLOR_array__Array__with_capacity; +extern const int COLOR_abstract_compiler__AbstractCompiler__count_type_test_resolved; +extern const int COLOR_abstract_compiler__Frame__arguments; +extern const int COLOR_model__MVirtualType__mproperty; +extern const int COLOR_separate_compiler__MProperty__const_color; +extern const int COLOR_abstract_compiler__AbstractCompiler__count_type_test_unresolved; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__debug; +val* separate_erasure_compiler__SeparateErasureCompilerVisitor__type_test(val* self, val* p0, val* p1, val* p2); +val* separate_erasure_compiler__SeparateErasureCompilerVisitor__class_name_string(val* self, val* p0); +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__get_class; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__anchor; +extern const struct type type_array__Arraymodel__MType; +extern const struct type type_array__NativeArraymodel__MType; +extern const int COLOR_model__MClass__get_mtype; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__init_instance; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__object_type; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__autobox; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__int_instance; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__get_property; +extern const struct type type_array__Arrayabstract_compiler__RuntimeVariable; +extern const struct type type_array__NativeArrayabstract_compiler__RuntimeVariable; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__send; +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__check_init_instance; +val* separate_erasure_compiler__SeparateErasureCompilerVisitor__array_instance(val* self, val* p0, val* p1); +extern const int COLOR_abstract_compiler__AbstractCompilerVisitor__ret; +void separate_erasure_compiler__SeparateErasureCompilerVisitor__calloc_array(val* self, val* p0, val* p1);