Commit 72ead65f authored by Christoph Mallon's avatar Christoph Mallon
Browse files

doc: Correct typos in comments.

parent d8ae1e7a
......@@ -37,7 +37,7 @@ struct be_insn_t {
* Create a be_insn_t for an IR node.
*
* @param env the insn construction environment
* @param irn the irn for which the be_insn should be build
* @param irn the irn for which the be_insn should be built
*
* @return the be_insn for the IR node
*/
......
......@@ -214,7 +214,7 @@ static int ia32_get_sp_bias(const ir_node *node)
}
/**
* Build the between type and entities if not already build.
* Build the between type and entities if not already built.
*/
static void ia32_build_between_type(void)
{
......
......@@ -385,7 +385,7 @@ static instruction *basic_decompose_mul(mul_env *env, unsigned char *R, int r,
}
/**
* recursive build the graph form the instructions.
* Recursively build the graph for the instructions.
*
* @param env the environment
* @param inst the instruction
......
......@@ -100,7 +100,7 @@ static ir_graph *new_r_ir_graph(ir_entity *ent, int n_loc)
{
ir_graph *const res = alloc_graph();
/* inform statistics here, as blocks will be already build on this graph */
/* Inform statistics here, as blocks will be already built on this graph. */
hook_new_graph(res, ent);
/* graphs are in construction mode by default */
......
......@@ -94,7 +94,7 @@ struct hook_entry {
void (*_hook_normalize)(void *context, ir_node *node);
/** This hook is called, after a new graph was created and before the first block
* on this graph is build. */
* on this graph is built. */
void (*_hook_new_graph)(void *context, ir_graph *irg, ir_entity *ent);
/** This hook is called before a graph is freed. */
......
......@@ -108,7 +108,7 @@ ir_node *new_ir_node(dbg_info *db, ir_graph *irg, ir_node *block, ir_op *op,
for (ir_edge_kind_t i = EDGE_KIND_FIRST; i <= EDGE_KIND_LAST; ++i) {
INIT_LIST_HEAD(&res->edge_info[i].outs_head);
/* edges will be build immediately */
/* Edges will be built immediately. */
res->edge_info[i].edges_built = 1;
res->edge_info[i].out_count = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment