From 31dd448dc73416ccd43de4066a62114dc80cab9a Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 6 Jul 2005 16:38:53 +0000 Subject: [PATCH 1/1] typo fixed [r6199] --- ir/tr/tpop_t.h | 4 +--- ir/tr/tr_inheritance.c | 25 +++++++++++++------------ ir/tr/tr_inheritance.h | 3 +-- 3 files changed, 15 insertions(+), 17 deletions(-) diff --git a/ir/tr/tpop_t.h b/ir/tr/tpop_t.h index 7822533af..b80430faf 100644 --- a/ir/tr/tpop_t.h +++ b/ir/tr/tpop_t.h @@ -9,8 +9,6 @@ * Copyright: (c) 2001-2003 Universität Karlsruhe * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. */ - - # ifndef _TPOP_T_H_ # define _TPOP_T_H_ @@ -21,7 +19,7 @@ * * This file contains the datatypes hidden in tpop.h. * - * @autor Goetz Lindenmaier + * @author Goetz Lindenmaier * @see tpop.h */ diff --git a/ir/tr/tr_inheritance.c b/ir/tr/tr_inheritance.c index 926bd2f94..64f82aff3 100644 --- a/ir/tr/tr_inheritance.c +++ b/ir/tr/tr_inheritance.c @@ -1,9 +1,9 @@ /** * - * @file tp_inheritance.c + * @file tr_inheritance.c * * Project: libFIRM
- * File name: ir/tr/tp_inheritance.c
+ * File name: ir/tr/tr_inheritance.c
* Purpose: Utility routines for inheritance representation
* Author: Goetz Lindenmaier
* Modified by:
@@ -354,13 +354,13 @@ void compute_inh_transitive_closure(void) { assert(get_type_visited(tp) < get_master_type_visited()-1); for (j = 0; j < n_subtypes && !has_unmarked_subtype; ++j) { - type *stp = get_class_subtype(tp, j); - if (type_not_visited(stp)) has_unmarked_subtype = true; + type *stp = get_class_subtype(tp, j); + if (type_not_visited(stp)) has_unmarked_subtype = true; } /* This is a good starting point. */ if (!has_unmarked_subtype) - compute_down_closure(tp); + compute_down_closure(tp); } } @@ -381,7 +381,7 @@ void compute_inh_transitive_closure(void) { /* This is a good starting point. */ if (!has_unmarked_supertype) - compute_up_closure(tp); + compute_up_closure(tp); } } @@ -615,14 +615,15 @@ typedef struct ccs_env { } ccs_env; void verify_irn_class_cast_state(ir_node *n, void *env) { - ccs_env *ccs = (ccs_env *)env; + ccs_env *ccs = (ccs_env *)env; ir_class_cast_state this_state = ir_class_casts_any; + type *fromtype, *totype; + int ref_depth = 0; if (get_irn_op(n) != op_Cast) return; - type *fromtype = get_irn_typeinfo_type(get_Cast_op(n)); - type *totype = get_Cast_type(n); - int ref_depth = 0; + fromtype = get_irn_typeinfo_type(get_Cast_op(n)); + totype = get_Cast_type(n); while (is_Pointer_type(totype) && is_Pointer_type(fromtype)) { totype = get_pointer_points_to_type(totype); @@ -636,7 +637,7 @@ void verify_irn_class_cast_state(ir_node *n, void *env) { is_subclass_of(fromtype, totype) ) { this_state = ir_class_casts_transitive; if ((get_class_supertype_index(totype, fromtype) == -1) && - (get_class_supertype_index(fromtype, totype) == -1) ) { + (get_class_supertype_index(fromtype, totype) == -1) ) { this_state = ir_class_casts_normalized; } } @@ -649,7 +650,7 @@ void verify_irn_class_cast_state(ir_node *n, void *env) { } -/** Verify that the graph meets reqirements of state set. */ +/** Verify that the graph meets requirements of state set. */ void verify_irg_class_cast_state(ir_graph *irg) { ccs_env env; diff --git a/ir/tr/tr_inheritance.h b/ir/tr/tr_inheritance.h index 0bbcc5605..658b62be4 100644 --- a/ir/tr/tr_inheritance.h +++ b/ir/tr/tr_inheritance.h @@ -1,6 +1,5 @@ /** - * - * @file tp_inheritance.h + * @file tr_inheritance.h * * Project: libFIRM
* File name: ir/tr/tp_inheritance.h
-- 2.20.1