Fixed some typos.
authorManuel Mohr <manuel.mohr@kit.edu>
Fri, 14 Sep 2012 11:25:09 +0000 (13:25 +0200)
committerManuel Mohr <manuel.mohr@kit.edu>
Fri, 14 Sep 2012 11:25:09 +0000 (13:25 +0200)
ir/lower/lower_calls.c
ir/lower/lower_calls.h

index 4d25e76..9da717e 100644 (file)
@@ -47,7 +47,7 @@ static pmap *lowered_mtps;
 
 /**
  * Default implementation for finding a pointer type for a given element type.
- * Simple create a new one.
+ * Simply create a new one.
  */
 static ir_type *get_pointer_type(ir_type *dest_type)
 {
@@ -602,7 +602,7 @@ static void fix_compound_ret(cl_entry *entry, ir_type *ctp)
        set_irn_in(call, pos, new_in);
 }
 
-static ir_entity *create_compound_arg_entitiy(ir_graph *irg, ir_type *type)
+static ir_entity *create_compound_arg_entity(ir_graph *irg, ir_type *type)
 {
        ir_type   *frame  = get_irg_frame_type(irg);
        ident     *id     = id_unique("$compound_param.%u");
@@ -635,7 +635,7 @@ static void fix_compound_params(cl_entry *entry, ir_type *ctp)
                        continue;
 
                arg        = get_Call_param(call, i);
-               arg_entity = create_compound_arg_entitiy(irg, type);
+               arg_entity = create_compound_arg_entity(irg, type);
                block      = get_nodes_block(call);
                sel        = new_rd_simpleSel(dbgi, block, nomem, frame, arg_entity);
                copyb      = new_rd_CopyB(dbgi, block, mem, sel, arg, type);
index c9f4644..ba290bc 100644 (file)
@@ -34,7 +34,7 @@ typedef enum compound_call_lowering_flags {
        LF_NONE                 = 0,      /**< no additional flags */
        LF_RETURN_HIDDEN        = 1 << 0, /**< return the hidden address instead of void */
        LF_DONT_LOWER_ARGUMENTS = 1 << 1, /**< don't lower compound call arguments
-                                              (some backends can handle them themselfes) */
+                                              (some backends can handle them themselves) */
 } compound_call_lowering_flags;
 ENUM_BITSET(compound_call_lowering_flags)