make firm compilable with a c++ compiler
[libfirm] / ir / be / ia32 / ia32_architecture.h
index a88776f..84c0938 100644 (file)
@@ -88,6 +88,9 @@ typedef struct {
         * rounding mode
         */
        unsigned use_unsafe_floatconv:1;
+       /** emit machine code instead of assembler */
+       unsigned emit_machcode:1;
+
        /** function alignment (a power of two in bytes) */
        unsigned function_alignment;
        /** alignment for labels (which are expected to be frequent jump targets) */
@@ -112,10 +115,11 @@ void ia32_setup_cg_config(void);
  * lowerer.
  *
  * @param kind   the instruction
+ * @param mode   the mode of the instruction
  * @param tv     for MUL instruction, the multiplication constant
  *
  * @return the cost
  */
-int ia32_evaluate_insn(insn_kind kind, tarval *tv);
+int ia32_evaluate_insn(insn_kind kind, const ir_mode *mode, ir_tarval *tv);
 
 #endif