From 464ca23e15b5059d4f7f3b00d220659996104476 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 31 Oct 2008 13:38:46 +0000 Subject: [PATCH] - fixed typo [r23322] --- ir/ir/irprog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/ir/irprog.c b/ir/ir/irprog.c index 8d475de44..43ab84d1a 100644 --- a/ir/ir/irprog.c +++ b/ir/ir/irprog.c @@ -263,15 +263,15 @@ ir_graph *get_irp_allirg(int pos) { void add_irp_type(ir_type *typ) { assert(typ != NULL); assert(irp); - ARR_APP1 (ir_type *, irp->types, typ); + ARR_APP1(ir_type *, irp->types, typ); } -/* Remove type form the list of types in irp. */ +/* Remove type from the list of types in irp. */ void remove_irp_type(ir_type *typ) { int i; assert(typ); - for (i = ARR_LEN(irp->types) -1; i >= 0; i--) { + for (i = ARR_LEN(irp->types) - 1; i >= 0; i--) { if (irp->types[i] == typ) { for(; i < (ARR_LEN(irp->types)) - 1; i++) { irp->types[i] = irp->types[i+1]; -- 2.20.1