From 3451c8552db1eb32b6d44ca292069cd1aafd5c6d Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 17 Aug 2011 09:57:06 +0200 Subject: [PATCH] Correct typos in comments. --- include/libfirm/irgwalk.h | 2 +- ir/be/beabi.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libfirm/irgwalk.h b/include/libfirm/irgwalk.h index 98d80c23b..64f86fc5b 100644 --- a/include/libfirm/irgwalk.h +++ b/include/libfirm/irgwalk.h @@ -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 * 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. */ FIRM_API void irg_block_walk(ir_node *node, irg_walk_func *pre, diff --git a/ir/be/beabi.c b/ir/be/beabi.c index 122cf689e..7a5f0c0bd 100644 --- a/ir/be/beabi.c +++ b/ir/be/beabi.c @@ -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( const arch_env_t *arch_env, @@ -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( const arch_env_t *arch_env, -- 2.20.1