git rid of old commented-out code
authorMatthias Braun <matze@braunis.de>
Wed, 19 May 2010 17:00:04 +0000 (17:00 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 19 May 2010 17:00:04 +0000 (17:00 +0000)
[r27550]

include/libfirm/field_temperature.h
ir/ana/field_temperature.c
ir/ir/irdumptxt.c

index 081183b..19e8c86 100644 (file)
@@ -108,12 +108,4 @@ typedef enum {
   temperature_inconsistent
 } irp_temperature_state;
 
-#if 0
-
-/** An auxiliary/temporary function */
-int is_jack_rts_class(ir_type *t);
-int is_jack_rts_entity(ir_entity *e);
-
-#endif
-
 #endif
index f930fe0..71f24fa 100644 (file)
@@ -381,49 +381,4 @@ double get_entity_estimated_n_dyncalls(ir_entity *ent)
   return n_calls;
 }
 
-#if 0
-/* Move this to the jack compiler */
-
-/* ------------------------------------------------------------------------- */
-/* Auxiliary                                                                 */
-/* ------------------------------------------------------------------------- */
-
-int is_jack_rts_name(ident *name)
-{
-  if (id_is_suffix(new_id_from_str("Exception"), name)) return 1;
-  if (id_is_suffix(new_id_from_str("Throwable"), name)) return 1;
-  if (id_is_suffix(new_id_from_str("Error"),     name)) return 1;
-
-  return  0;
-
-  if (id_is_prefix(new_id_from_str("java/"), name)) return 1;
-  if (id_is_prefix(new_id_from_str("["),     name)) return 1;
-  if (id_is_prefix(new_id_from_str("gnu/"),  name)) return 1;
-  if (id_is_prefix(new_id_from_str("java/"), name)) return 1;
-  if (id_is_prefix(new_id_from_str("CStringToCoreString"), name)) return 1;
-
-  return 0;
-}
-
-
-int is_jack_rts_class(ir_type *t)
-{
-  ident *name = get_type_ident(t);
-  return is_jack_rts_name(name);
-}
-
-#include "entity_t.h"  // for the assertion.
-
-int is_jack_rts_entity(ir_entity *e)
-{
-  ident *name;
-
-  assert(e->ld_name);
-  name = get_entity_ld_ident(e);
-
-  return is_jack_rts_name(name);
-}
-
-#endif /* if 0 */
-
 #endif
index 6857397..bdd2ac2 100644 (file)
@@ -1229,8 +1229,6 @@ void dump_types_as_text(unsigned verbosity, const char *suffix)
        for (i = 0; i < n_types; ++i) {
                ir_type *t = get_irp_type(i);
 
-               //if (is_jack_rts_class(t)) continue;
-
                dump_type_to_file(F, t, verbosity);
        }