Merge branch 'master' of http://github.com/mono/mono
[mono.git] / mono / mini / linear-scan.c
index 4be9f982e5eba95e346f9c0a38b5f79fd25c8ce2..df681a68ac1bfe2210099fb04e1d977c4aa78bc3 100644 (file)
@@ -10,6 +10,8 @@
 #include "mini.h"
 #include <mono/metadata/debug-helpers.h>
 
+#ifndef DISABLE_JIT
+
 static void mono_linear_scan2 (MonoCompile *cfg, GList *vars, GList *regs, regmask_t *used_mask);
 
 GList *
@@ -507,3 +509,5 @@ mono_linear_scan2 (MonoCompile *cfg, GList *vars, GList *regs, regmask_t *used_m
        g_list_free (active);
        g_list_free (inactive);
 }
+
+#endif /* #ifndef DISABLE_JIT */