/* -*- c -*- */
/*
- Project: libFIRM
- File name: ir/ana2/pto_comp.c
- Purpose: Main Implementation of PTO
- Author: Florian
- Modified by:
- Created: Sat Nov 13 19:35:27 CET 2004
- CVS-ID: $Id$
- Copyright: (c) 1999-2004 Universität Karlsruhe
- Licence: This file is protected by the 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.
+ */
+
+/**
+ * @file
+ * @brief Main Implementation of PTO
+ * @author Florian
+ * @date Sat Nov 13 19:35:27 CET 2004
+ * @version $Id$
+ */
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
static pto_t *get_pto_proj (ir_node *proj, pto_env_t *env)
{
ir_node *proj_in = get_Proj_pred (proj);
- const long proj_proj = get_Proj_proj (proj);
const ir_opcode in_op = get_irn_opcode (proj_in);
pto_t *in_pto = NULL;
pto_t *proj_pto = NULL; /* get_node_pto (proj); */
}
case (iro_Load): /* ProjV (Load) */
- assert (pn_Load_res == proj_proj);
+ assert (pn_Load_res == get_Proj_proj(proj));
/* FALLTHROUGH */
case (iro_Call): /* ProjT (Call) */
/* FALLTHROUGH */
\f
/*
$Log$
+ Revision 1.21 2007/03/22 10:39:33 matze
+ a bunch of fixes to make firm work with NDEBUG and without DEBUG_libfirm
+
Revision 1.20 2007/01/16 15:45:42 beck
renamed type opcode to ir_opcode