From b79f4f37c72bc1ba947814a068bf696b4dffb369 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 28 Dec 2004 12:23:30 +0000 Subject: [PATCH] typos fixed [r4768] --- ir/ir/irdump.h | 2 +- ir/tr/entity.h | 2 +- ir/tr/entity_t.h | 7 +++---- ir/tr/typegmod.c | 4 ++-- ir/tv/fltcalc.h | 12 ++++++------ 5 files changed, 13 insertions(+), 14 deletions(-) diff --git a/ir/ir/irdump.h b/ir/ir/irdump.h index 4d42be0aa..118117aa4 100644 --- a/ir/ir/irdump.h +++ b/ir/ir/irdump.h @@ -389,7 +389,7 @@ void only_dump_method_with_name(ident *name); /** Sets the vcg flag "display_edge_labels" to no. * * This is necessary as xvcg and aisee both fail to display graphs - * with self-edges if these edges have labes. + * with self-edges if these edges have lables. */ void turn_off_edge_labels(void); diff --git a/ir/tr/entity.h b/ir/tr/entity.h index d91c79912..b6910eeb7 100644 --- a/ir/tr/entity.h +++ b/ir/tr/entity.h @@ -215,7 +215,7 @@ typedef enum { allocation_automatic, /**< The entity is allocated during runtime, implicitly as component of a compound type. This is the default. */ allocation_parameter, /**< The entity is a parameter. It is also automatic allocated. - We distinguish the allocation of paramters from the allocation + We distinguish the allocation of parameters from the allocation of local variables as their placement depends on the calling conventions. */ allocation_dynamic, /**< The entity is allocated during runtime, explicitly diff --git a/ir/tr/entity_t.h b/ir/tr/entity_t.h index 64d368448..3c4d70314 100644 --- a/ir/tr/entity_t.h +++ b/ir/tr/entity_t.h @@ -51,7 +51,7 @@ struct compound_graph_path { firm_kind kind; /**< dynamic type tag for compound graph path. */ type *tp; /**< The type this path belongs to. */ int len; /**< length of the path */ - int *arr_indicees; /**< List of array indicees. To compute position of + int *arr_indicees; /**< List of array indeces. To compute position of array elements */ entity *nodes[1]; /**< List of entities of length len to express the access path. */ @@ -63,7 +63,7 @@ struct entity { ident *name; /**< name of this entity */ ident *ld_name; /**< Unique name of this entity, i.e., the mangled name. If the field is read before written a default - magling is applies. The name of the owner is prepended + mangling is applies. The name of the owner is prepended to the name of the entity, separated by a underscore. E.g., for a class `A' with field `a' this is the ident for `A_a'. */ @@ -113,8 +113,7 @@ struct entity { #ifdef DEBUG_libfirm int nr; /**< a unique node number for each node to make output - readable. */ - char *c_name; /**< Since idents are ipaque, provide the name in cleartext */ + readable. */ # endif /* DEBUG_libfirm */ }; diff --git a/ir/tr/typegmod.c b/ir/tr/typegmod.c index a1cb01b0d..af52b4ec1 100644 --- a/ir/tr/typegmod.c +++ b/ir/tr/typegmod.c @@ -32,9 +32,9 @@ INLINE void exchange_types(type *old_type, type *new_type) { Maybe it's better to remove the id entry and shrink the list. Does this conflict with the walker? Might a type be left out during the walk? - * Deallocation: if the Id is removed from the list it will eventualle + * Deallocation: if the Id is removed from the list it will eventually disappear in a memory leak. When is impossible to determine so we - need to hold it in a seperate list for deallocation. + need to hold it in a separate list for deallocation. */ /* Exchange the types */ diff --git a/ir/tv/fltcalc.h b/ir/tv/fltcalc.h index a5ca304e7..13f7a0d85 100644 --- a/ir/tv/fltcalc.h +++ b/ir/tv/fltcalc.h @@ -69,7 +69,7 @@ char* fc_val_from_str(const char *str, unsigned int len, char exp_size, char man /** get the representation of a floating point value * This function tries to builds a representation having the same value as the * float number passed. - * If the wished precision is less than the precicion of LLDBL the value built + * If the wished precision is less than the precision of LLDBL the value built * will be rounded. Therefore only an approximation of the passed float can be * expected in this case. * @@ -191,7 +191,7 @@ int fc_comp(const void *a, const void *b); * Values too big to represent will round to the biggest/smallest * representable value. * - * These modes correspond to the modes required by the ieee standard. + * These modes correspond to the modes required by the IEEE standard. * * @param mode The new rounding mode. Any value other than the four * defined values will have no effect. @@ -212,20 +212,20 @@ fc_rounding_mode_t fc_get_rounding_mode(void); /** Get bit representation of a value * This function allows to read a value in encoded form, bytewise. - * The value will be packed corresponding to the way used by the ieee + * The value will be packed corresponding to the way used by the IEEE * encoding formats, i.e. * One bit sign * exp_size bits exponent + bias * mant_size bits mantissa, without leading 1 * - * As in ieee, an exponent of 0 indicates a denormalized number, which + * As in IEEE, an exponent of 0 indicates a denormalized number, which * implies a most significant bit of zero instead of one; an exponent * of all ones (2**exp_size - 1) encodes infinity if the mantissa is - * all zeroes, else Not A Number. + * all zeros, else Not A Number. * * @param val A pointer to the value. If NULL is passed a copy of the * most recent value passed to this function is used, saving the - * packing step. This behaviour may be changed in the future. + * packing step. This behavior may be changed in the future. * @param num_bit The maximum number of bits to return. Any bit beyond * num_bit will be returned as zero. * @param byte_ofs The byte index to read, 0 is the least significant -- 2.20.1