use xmalloc instead of malloc
[libfirm] / ir / ir / irarch.c
index 2afd717..cf0ed67 100644 (file)
@@ -1,12 +1,19 @@
 /**
  * @file irarch.c
  * @date 28.9.2004
- * @author Sebastian Hack
+ * @author Sebastian Hack, Michael Beck
  * @brief Machine dependent firm optimizations.
  *
  * $Id$
  */
-#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
+
 #include <assert.h>
 
 #include "irnode_t.h"
@@ -84,7 +91,7 @@ void arch_dep_init(arch_dep_params_factory_t factory)
     rflct_signature_set_arg(sig, 1, 1, "Op 0", RFLCT_MC(Int), 0, 0);
     rflct_signature_set_arg(sig, 1, 2, "Op 1", RFLCT_MC(Int), 0, 0);
 
-    rflct_new_opcode(mulh_opc, "Mulh", false);
+    rflct_new_opcode(mulh_opc, "Mulh", 0);
     rflct_opcode_add_signature(mulh_opc, sig);
   }
 }