Commit 3451c855 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Correct typos in comments.

parent 719fad9e
...@@ -139,7 +139,7 @@ FIRM_API void all_irg_walk(irg_walk_func *pre, irg_walk_func *post, void *env); ...@@ -139,7 +139,7 @@ FIRM_API void all_irg_walk(irg_walk_func *pre, irg_walk_func *post, void *env);
* *
* This function Walks only over Block nodes in the graph. Has its own visited * This function Walks only over Block nodes in the graph. Has its own visited
* flag, so that it can be interleaved with the other walker. * flag, so that it can be interleaved with the other walker.
* If a none block is passed, starts at the block this node belongs to. * If a non-block is passed, starts at the block this node belongs to.
* If end is passed also visits kept alive blocks. Does not use the link field. * If end is passed also visits kept alive blocks. Does not use the link field.
*/ */
FIRM_API void irg_block_walk(ir_node *node, irg_walk_func *pre, FIRM_API void irg_block_walk(ir_node *node, irg_walk_func *pre,
......
...@@ -119,7 +119,7 @@ static void be_abi_reg_map_set(pmap *map, const arch_register_t* reg, ...@@ -119,7 +119,7 @@ static void be_abi_reg_map_set(pmap *map, const arch_register_t* reg,
} }
/** /**
* Check if the given register is callee save, ie. will be save by the callee. * Check if the given register is callee save, ie. will be saved by the callee.
*/ */
static bool arch_register_is_callee_save( static bool arch_register_is_callee_save(
const arch_env_t *arch_env, const arch_env_t *arch_env,
...@@ -131,7 +131,7 @@ static bool arch_register_is_callee_save( ...@@ -131,7 +131,7 @@ static bool arch_register_is_callee_save(
} }
/** /**
* Check if the given register is caller save, ie. must be save by the caller. * Check if the given register is caller save, ie. must be saved by the caller.
*/ */
static bool arch_register_is_caller_save( static bool arch_register_is_caller_save(
const arch_env_t *arch_env, const arch_env_t *arch_env,
......
Supports Markdown
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