fix
[libfirm] / ir / ana2 / irmemwalk.c
index bbb8e37..0f587dd 100644 (file)
@@ -1,25 +1,36 @@
 /* -*- c -*- */
 
 /*
- * Project:     libFIRM
- * File name:   ir/ana2/irmemwalk.c
- * Purpose:     walk along memory edges
- * Author:      Florian
- * Modified by:
- * Created:     Mon 18 Oct 2004
- * CVS-ID:      $Id$
- * Copyright:   (c) 1999-2004 Universität Karlsruhe
- * Licence:     This file is protected by GPL -  GNU GENERAL PUBLIC LICENSE.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
  */
 
-/*
-  Walk over a firm graph along its memory edges.
-
-  Any number of graphs can be visited at the same time, but no graph
-  can be traversed more than once at any time.
-*/
-
-
+/**
+ * @file
+ * @brief    walk along memory edges
+ * @author   Florian
+ * @date     Mon 18 Oct 2004
+ * @version  $Id$
+ * @summary
+ *   Walk over a firm graph along its memory edges.
+ *
+ *   Any number of graphs can be visited at the same time, but no graph
+ *   can be traversed more than once at any time.
+ */
 # ifdef HAVE_CONFIG_H
 #  include "config.h"
 # endif
@@ -66,7 +77,7 @@ static walk_mem_env_t *walk_envs = NULL;
 static void irg_walk_mem_node (ir_node *node,
                                walk_mem_env_t *walk_env)
 {
-  const opcode op = get_irn_opcode (node);
+  const ir_opcode op = get_irn_opcode (node);
   ir_node *in = NULL;
 
   if (get_irn_visited (node) >= walk_env->visited) {
@@ -264,6 +275,9 @@ void irg_walk_mem (ir_graph *graph,
 
 /*
   $Log$
+  Revision 1.12  2007/01/16 15:45:42  beck
+  renamed type opcode to ir_opcode
+
   Revision 1.11  2005/01/26 12:20:20  beck
   gnu_ext.h included