2009-12-25 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ssapre.c
index ea817c58f03ec97eef1bacf09bf10ed2857df19b..df1eaff9f4852e6dee6ae48699ab66d249e76d5b 100644 (file)
 #include <string.h>
 #include <stdio.h>
 #include <math.h>
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
 
 #include <mono/metadata/debug-helpers.h>
 #include <mono/metadata/opcodes.h>
 
 #include "config.h"
 
-#ifndef DISABLE_SSA
-#include "inssel.h"
-
 #include "ssapre.h"
 
+/* Disable for now to save space since it is not yet ported to linear IR */
+#if 0
+
+#ifndef DISABLE_SSA
+
 /* Logging conditions */
 #define DUMP_LEVEL (4)
 #define TRACE_LEVEL (3)
@@ -2154,3 +2159,11 @@ mono_perform_ssapre (MonoCompile *cfg) {
 
 #endif /* DISABLE_SSA */
 
+#else /* 0 */
+
+void
+mono_perform_ssapre (MonoCompile *cfg)
+{
+}
+
+#endif /* 0 */