Browse Source

Fix the DISABLE_JIT build.

Zoltan Varga 13 years ago
parent
commit
b7ffcc62ae
1 changed files with 2 additions and 20 deletions
  1. 2 20
      mono/mini/mini.c

+ 2 - 20
mono/mini/mini.c

@@ -962,6 +962,8 @@ mini_type_to_ldind (MonoCompile* cfg, MonoType *type)
 	return mono_type_to_ldind (type);
 }
 
+#ifndef DISABLE_JIT
+
 guint
 mini_type_to_stind (MonoCompile* cfg, MonoType *type)
 {
@@ -976,8 +978,6 @@ mini_type_to_stind (MonoCompile* cfg, MonoType *type)
 	return mono_type_to_stind (type);
 }
 
-#ifndef DISABLE_JIT
-
 int
 mono_op_imm_to_op (int opcode)
 {
@@ -7430,24 +7430,6 @@ mono_arch_get_gsharedvt_trampoline (MonoTrampInfo **info, gboolean aot)
 
 #endif
 
-#ifdef DISABLE_JIT
-
-gpointer
-mono_arch_get_gsharedvt_arg_trampoline (MonoDomain *domain, gpointer arg, gpointer addr)
-{
-       g_assert_not_reached ();
-       return NULL;
-}
-
-gpointer
-mono_arch_get_gsharedvt_trampoline (MonoTrampInfo **info, gboolean aot)
-{
-       g_assert_not_reached ();
-       return NULL;
-}
-
-#endif
-
 #if defined(MONO_ARCH_GSHAREDVT_SUPPORTED) && !defined(MONOTOUCH) && !defined(MONO_EXTENSIONS)
 
 gboolean