diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2017-05-16 07:31:15 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@gcc.gnu.org> | 2017-05-16 07:31:15 +0000 |
commit | be742f1ebefc631d30c3711ada16f5fe5d3b9bac (patch) | |
tree | 910d1429370ec4a6a6ddacb00dcbede99d86e70c /gcc/objc/objc-runtime-shared-support.c | |
parent | 4bd7b795ae1906c393dbdc020a30807a8adc5d9a (diff) | |
download | gcc-be742f1ebefc631d30c3711ada16f5fe5d3b9bac.zip gcc-be742f1ebefc631d30c3711ada16f5fe5d3b9bac.tar.gz gcc-be742f1ebefc631d30c3711ada16f5fe5d3b9bac.tar.bz2 |
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
Diffstat (limited to 'gcc/objc/objc-runtime-shared-support.c')
-rw-r--r-- | gcc/objc/objc-runtime-shared-support.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/objc/objc-runtime-shared-support.c b/gcc/objc/objc-runtime-shared-support.c index 8d35d27..5ead870 100644 --- a/gcc/objc/objc-runtime-shared-support.c +++ b/gcc/objc/objc-runtime-shared-support.c @@ -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. */ |