Commit be742f1e by Sylvestre Ledru Committed by Sylvestre Ledru

objc-runtime-shared-support.c (build_module_descriptor): Remove unnecessary…

objc-runtime-shared-support.c (build_module_descriptor): Remove unnecessary conditional when building instance of objc_module.

2017-05-16  Sylvestre Ledru  <sylvestre@debian.org>

        * objc-runtime-shared-support.c (build_module_descriptor):
        Remove unnecessary conditional when building instance of
        objc_module. CID 1406758

From-SVN: r248087
parent 4bd7b795
2017-05-16 Sylvestre Ledru <sylvestre@debian.org>
* objc-runtime-shared-support.c (build_module_descriptor):
Remove unnecessary conditional when building instance of
objc_module. CID 1406758
2017-05-09 Nathan Sidwell <nathan@acm.org>
* objc-gnu-runtime-abi-01.c (objc_add_static_instance): Use
......
......@@ -500,11 +500,7 @@ build_module_descriptor (long vers, tree attr)
objc_finish_struct (objc_module_template, decls);
/* Create an instance of "_objc_module". */
UOBJC_MODULES_decl = start_var_decl (objc_module_template,
/* FIXME - why the conditional
if the symbol is the
same. */
flag_next_runtime ? "_OBJC_Module" : "_OBJC_Module");
UOBJC_MODULES_decl = start_var_decl (objc_module_template, "_OBJC_Module");
/* This is the root of the metadata for defined classes and categories, it
is referenced by the runtime and, therefore, needed. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment