Initialization fixed
[libfirm] / ir / be / ppc32 / ppc32_transform_conv.c
index 7515a18..3c730f6 100644 (file)
@@ -1,6 +1,28 @@
-/* The codegenerator (transform FIRM Conv nodes into ppc FIRM) */
-/* $Id$ */
+/*
+ * 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   The codegenerator (transform FIRM Conv nodes into ppc FIRM)
+ * @author  Moritz Kroll, Jens Mueller
+ * @version $Id$
+ */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -234,6 +256,7 @@ void init_block(void)
  * Constant generating code
  */
 
+#if 0
 struct tv_ent {
        ir_entity *ent;
        tarval *tv;
@@ -293,6 +316,7 @@ static ir_node *gen_fp_known_symconst(ppc32_transform_env_t *env, tarval *known_
 
        return new_rd_SymConst_addr_ent(env->dbg, env->irg, ent, tp);
 }
+#endif
 
 /**
  * Transforms a Const
@@ -345,7 +369,7 @@ static ir_node *gen_SymConst(ppc32_transform_env_t *env) {
  */
 void ppc32_conv_walk(ir_node *node, void *env) {
        ppc32_code_gen_t *cgenv = (ppc32_code_gen_t *)env;
-       opcode  code          = get_irn_opcode(node);
+       ir_opcode  code         = get_irn_opcode(node);
        ppc32_transform_env_t tenv;
 
        if (is_Block(node))
@@ -446,7 +470,7 @@ void ppc32_conv_walk(ir_node *node, void *env) {
  */
 void ppc32_pretransform_walk(ir_node *node, void *env) {
        ppc32_code_gen_t *cgenv = (ppc32_code_gen_t *)env;
-       opcode  code          = get_irn_opcode(node);
+       ir_opcode  code         = get_irn_opcode(node);
        ppc32_transform_env_t tenv;
 
        if (is_Block(node))