-static gboolean
-construct_region_from_specific_name (MonoRegionInfo *ri, gchar *name)
-{
- const RegionInfoEntry *entry;
- const RegionInfoNameEntry *ne;
-
- MONO_ARCH_SAVE_REGS;
-
- ne = bsearch (name, region_name_entries, NUM_REGION_ENTRIES,
- sizeof (RegionInfoNameEntry), region_name_locator);
-
- if (ne == NULL)
- return FALSE;
-
- entry = ®ion_entries [ne->region_entry_index];
-
- return construct_region (ri, entry);
-}
-