replaced variable args macros by functions to make it c89 compatible
[libfirm] / ir / ana / irbackedge.c
index bcf9f3b..c93eac1 100644 (file)
@@ -1,20 +1,21 @@
-/* Copyright (C) 2002 by Universitaet Karlsruhe
-* All rights reserved.
-*
-* Authors:  Goetz Lindenmaier
-*
-* irbackedges.c  Access function for backedges.
-*
-*/
-
-/* $Id$ */
+/*
+ * Project:     libFIRM
+ * File name:   ir/ana/irbackedge.c
+ * Purpose:     Access function for backedges.
+ * Author:      Goetz Lindenmaier
+ * Modified by:
+ * Created:     7.2002
+ * CVS-ID:      $Id$
+ * Copyright:   (c) 2002-2003 Universität Karlsruhe
+ * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ */
 
 #include "irnode_t.h"
 #include "array.h"
 #include "irbackedge_t.h"
 
 /*--------------------------------------------------------------------*/
-/* Backedge information. *                                            */
+/* Backedge information.                                              */
 /*--------------------------------------------------------------------*/
 
 
@@ -96,11 +97,11 @@ INLINE void fix_backedges(struct obstack *obst, ir_node *n) {
     return;
   }
   assert(legal_backarray(n));
-  // @@@ more efficient in memory consumption, not possible with
-  // array implementation.
-  //if (ARR_LEN(arr) < ARR_LEN(get_irn_in(n))-1) {
-  //  ARR_SETLEN(int, arr, ARR_LEN(get_irn_in(n))-1);
-  //}
+  /* @@@ more efficient in memory consumption, not possible with
+   array implementation.
+  if (ARR_LEN(arr) < ARR_LEN(get_irn_in(n))-1) {
+    ARR_SETLEN(int, arr, ARR_LEN(get_irn_in(n))-1);
+  }*/
 }
 
 /** Returns true if the predesessor pos is a backedge. */