File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
gcc/common/config/aarch64 Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -223,24 +223,17 @@ aarch64_print_hint_candidates (const char *str,
223223 XDELETEVEC (s);
224224}
225225
226- /* Append all architecture extension candidates to the CANDIDATES vector. */
227-
228- void
229- aarch64_get_all_extension_candidates (auto_vec<const char *> *candidates)
230- {
231- const struct aarch64_extension_info *opt;
232- for (opt = all_extensions; opt->name != NULL ; opt++)
233- candidates->safe_push (opt->name );
234- }
235-
236226/* Print a hint with a suggestion for an extension name
237227 that most closely resembles what the user passed in STR. */
238228
239229void
240230aarch64_print_hint_for_extensions (const char *str)
241231{
242232 auto_vec<const char *> candidates;
243- aarch64_get_all_extension_candidates (&candidates);
233+ const struct aarch64_extension_info *opt;
234+ for (opt = all_extensions; opt->name != NULL ; opt++)
235+ candidates.safe_push (opt->name );
236+
244237 aarch64_print_hint_candidates (str, candidates);
245238}
246239
You can’t perform that action at this time.
0 commit comments