* icall.c: Remove warnings.
* mono-config.c: Allow for CONFIG_CPU to be set in config.h and
prevent auto-detection based on GCC defines.
Add PS3
* metadata-verify.c: Do not include signal.h
* generic-sharing.c, marshal.c: Add returns to avoid some warning
messages. Not sure why the g_assert_not_reached is not enough to
quiet the compiler.
* appdomain.c: Remove code that is not used when
DISABLE_SHADOW_COPY is set.
* image.c: use g_getenv
svn path=/trunk/mono/; revision=134615
+2009-05-22 Miguel de Icaza <miguel@novell.com>
+
+ * icall.c: Remove warnings.
+
+ * mono-config.c: Allow for CONFIG_CPU to be set in config.h and
+ prevent auto-detection based on GCC defines.
+
+ Add PS3
+
+ * metadata-verify.c: Do not include signal.h
+
+ * generic-sharing.c, marshal.c: Add returns to avoid some warning
+ messages. Not sure why the g_assert_not_reached is not enough to
+ quiet the compiler.
+
+
+ * appdomain.c: Remove code that is not used when
+ DISABLE_SHADOW_COPY is set.
+
+ * image.c: use g_getenv
+
2009-05-21 Miguel de Icaza <miguel@novell.com>
* reflection.c: Remove code that it not used with
add_assemblies_to_domain (data, mono_defaults.corlib->assembly, NULL);
+#ifndef DISABLE_SHADOW_COPY
shadow_location = get_shadow_assembly_location_base (data);
mono_debugger_event_create_appdomain (data, shadow_location);
g_free (shadow_location);
-
+#endif
+
return ad;
}
default:
g_assert_not_reached ();
}
+ /* Not reached, quiet compiler */
+ return NULL;
}
static gpointer
default:
g_assert_not_reached ();
}
+ /* Not reached */
+ return NULL;
}
static gpointer
default:
g_assert_not_reached ();
}
+ /* Not reached */
+ return NULL;
}
/*
default:
g_assert_not_reached ();
}
+ /* never reached */
+ return NULL;
}
static int
if (start) {
iter->args = start;
} else {
- guint32 i, arg_size;
- gint32 align;
iter->args = argsp + sizeof (gpointer);
#ifndef MONO_ARCH_REGPARMS
+ {
+ guint32 i, arg_size;
+ gint32 align;
for (i = 0; i < iter->sig->sentinelpos; ++i) {
arg_size = mono_type_stack_size (iter->sig->params [i], &align);
iter->args = (char*)iter->args + arg_size;
}
+ }
#endif
}
iter->num_args = iter->sig->param_count - iter->sig->sentinelpos;
if (mono_loader_get_last_error ()) {
mono_raise_exception (mono_loader_error_prepare_exception (mono_loader_get_last_error ()));
g_assert_not_reached ();
+ /* Not reached */
+ return NULL;
} else {
return res;
}
loaded_images_hash = g_hash_table_new (g_str_hash, g_str_equal);
loaded_images_refonly_hash = g_hash_table_new (g_str_hash, g_str_equal);
- debug_assembly_unload = getenv ("MONO_DEBUG_ASSEMBLY_UNLOAD") != NULL;
+ debug_assembly_unload = g_getenv ("MONO_DEBUG_ASSEMBLY_UNLOAD") != NULL;
}
/**
} else {
return mono_marshal_get_remoting_invoke (method);
}
+ /* Not erached */
+ return NULL;
}
G_GNUC_UNUSED static gpointer
#include <mono/metadata/attrdefs.h>
#include <mono/utils/strenc.h>
#include <string.h>
-#include <signal.h>
+//#include <signal.h>
#include <ctype.h>
#ifndef DISABLE_VERIFIER
#define CONFIG_OS "aix"
#elif defined(__hpux)
#define CONFIG_OS "hpux"
+#elif defined(SN_TARGET_PS3)
+#define CONFIG_OS "CellOS"
#else
#warning Unknown operating system
#define CONFIG_OS "unknownOS"
#endif
+#ifndef CONFIG_CPU
#if defined(__i386__)
#define CONFIG_CPU "x86"
#define CONFIG_WORDSIZE "32"
#warning Unknown CPU
#define CONFIG_CPU "unknownCPU"
#endif
+#endif
static void start_element (GMarkupParseContext *context,
const gchar *element_name,