ia32: Remove the unnecessary special case to get the latency of a CopyB.
[libfirm] / ir / be / beemitter_binary.h
index c8712b7..b41bdbe 100644 (file)
@@ -1,20 +1,6 @@
 /*
- * Copyright (C) 1995-2008 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.
+ * Copyright (C) 2012 University of Karlsruhe.
  */
 
 /**
@@ -22,7 +8,6 @@
  * @brief       Interface for binary machine code output.
  * @author      Matthias Braun
  * @date        12.03.2007
- * @version     $Id$
  */
 #ifndef FIRM_BE_BEEMITTER_BINARY_H
 #define FIRM_BE_BEEMITTER_BINARY_H
@@ -59,7 +44,7 @@ struct code_fragment_t {
        unsigned short   jumpsize_min;
        unsigned short   jumpsize_max;
 
-       unsigned char    data[0];      /**< data starts here */
+       unsigned char    data[];       /**< data starts here */
 };
 
 typedef struct binary_emiter_interface_t binary_emiter_interface_t;
@@ -121,7 +106,7 @@ static inline void be_emit32(const uint32_t u32)
 }
 
 /** leave space where an entity reference is put at the finish stage */
-void bemit_entity(ir_entity *entity, bool entity_sign, int offset,
-                  bool is_relative);
+void be_emit_entity(ir_entity *entity, bool entity_sign, int offset,
+                    bool is_relative);
 
 #endif