Skip to content
Snippets Groups Projects
  • Richard Henderson's avatar
    c9b9aa64
    cgraph.h (cgraph_build_static_cdtor): Declare. · c9b9aa64
    Richard Henderson authored
            * cgraph.h (cgraph_build_static_cdtor): Declare.
            * cgraphunit.c (cgraph_build_static_cdtor): New.
            * c-objc-common.c (build_cdtor): Use it.
            * coverage.c (create_coverage): Likewise.
            * libfuncs.h (LTI_gcov_init, gcov_init_libfunc): Remove.
            * optabs.c (init_optabs): Don't set gcov_init_libfunc.
    java/
            * class.c (registerClass_libfunc): Remove.
            (init_class_processing): Don't set it.
            (emit_register_classes): Take list_p parameter.  Fill it in
            with _Jv_RegisterClass calls.
            * decl.c (java_init_decl_processing): Don't call
            init_resource_processing.
            * jcf-parse.c (java_emit_static_constructor): New.
            (java_parse_file): Call it.
            * resource.c (registerResource_libfunc): Remove.
            (init_resource_processing): Remove.
            (write_resource_constructor): Take list_p parameter.  Fill it in
            with _Jv_RegisterResource calls.
            * java-tree.h: Update prototypes.
    
    From-SVN: r83958
    c9b9aa64
    History
    cgraph.h (cgraph_build_static_cdtor): Declare.
    Richard Henderson authored
            * cgraph.h (cgraph_build_static_cdtor): Declare.
            * cgraphunit.c (cgraph_build_static_cdtor): New.
            * c-objc-common.c (build_cdtor): Use it.
            * coverage.c (create_coverage): Likewise.
            * libfuncs.h (LTI_gcov_init, gcov_init_libfunc): Remove.
            * optabs.c (init_optabs): Don't set gcov_init_libfunc.
    java/
            * class.c (registerClass_libfunc): Remove.
            (init_class_processing): Don't set it.
            (emit_register_classes): Take list_p parameter.  Fill it in
            with _Jv_RegisterClass calls.
            * decl.c (java_init_decl_processing): Don't call
            init_resource_processing.
            * jcf-parse.c (java_emit_static_constructor): New.
            (java_parse_file): Call it.
            * resource.c (registerResource_libfunc): Remove.
            (init_resource_processing): Remove.
            (write_resource_constructor): Take list_p parameter.  Fill it in
            with _Jv_RegisterResource calls.
            * java-tree.h: Update prototypes.
    
    From-SVN: r83958