summaryrefslogtreecommitdiffhomepage
path: root/ir/ir
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2018-01-17 16:54:30 +0100
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2018-01-17 16:54:51 +0100
commitdef4d7a756fb3b23f130304b9ae1e3857459b44c (patch)
tree58129b9f0441d4545bec5069cd0c819e4a192cab /ir/ir
parent8931a030fd6cff232ad9860f592e54329d9d04ca (diff)
Fix typos in comments
Diffstat (limited to 'ir/ir')
-rw-r--r--ir/ir/ircons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/ir/ircons.c b/ir/ir/ircons.c
index 42e069a..8360e4f 100644
--- a/ir/ir/ircons.c
+++ b/ir/ir/ircons.c
@@ -467,7 +467,7 @@ static ir_mode *guess_recursively(ir_node *block, int pos)
if (irn_visited_else_mark(block))
return NULL;
- /* already have a defintion -> we can simply look at its mode */
+ /* already have a definition -> we can simply look at its mode */
ir_node *const value = block->attr.block.graph_arr[pos];
if (value != NULL)
return get_irn_mode(value);
@@ -488,7 +488,7 @@ static ir_mode *guess_recursively(ir_node *block, int pos)
ir_mode *ir_r_guess_mode(ir_graph *irg, int pos)
{
- /* already have a defintion -> we can simply look at its mode */
+ /* already have a definition -> we can simply look at its mode */
ir_node *const block = irg->current_block;
ir_node *const value = block->attr.block.graph_arr[pos+1];
if (value != NULL)