* mini.h: Add some missing prototypes.
* ssa.c local-propagation.c debug-debuger.c: Fix warnings.
* driver.c (mono_jit_init_version): Correct the comments since the first
argument should be the name of the root domain, not a filename.
svn path=/trunk/mono/; revision=107192
2008-07-03 Zoltan Varga <vargaz@gmail.com>
+ * mini.h: Add some missing prototypes.
+
+ * ssa.c local-propagation.c debug-debuger.c: Fix warnings.
+
* driver.c (mono_jit_init_version): Correct the comments since the first
argument should be the name of the root domain, not a filename.
gc_thread_vtable = &debugger_thread_vtable;
}
+#if 0
+
static void
debugger_finalize_threads (void)
{
gc_thread_vtable = NULL;
}
+#endif
+
static guint64
debugger_init_code_buffer (void)
{
/**
* mono_jit_init_version:
- * @file: the initial assembly to load
+ * @domain_name: the name of the root domain
* @runtime_version: the version of the runtime to load
*
* Use this version when you want to force a particular runtime
* was loaded.
*/
MonoDomain *
-mono_jit_init_version (const char *file, const char *runtime_version)
+mono_jit_init_version (const char *domain_name, const char *runtime_version)
{
- return mini_init (file, runtime_version);
+ return mini_init (domain_name, runtime_version);
}
void
mono_jit_init (const char *file);
MonoDomain *
-mono_jit_init_version (const char *file, const char *runtime_version);
+mono_jit_init_version (const char *root_domain_name, const char *runtime_version);
int
mono_jit_exec (MonoDomain *domain, MonoAssembly *assembly,
acp [tree->inst_i0->inst_c0] = NULL;
if (MONO_DEBUG_TREE_MOVER) {
- printf ("Assignment clears ACP[%d] at tree ", tree->inst_i0->inst_c0);
+ printf ("Assignment clears ACP[%d] at tree ", (int)tree->inst_i0->inst_c0);
mono_print_tree (tree);
printf ("\n");
}
acp [tree->inst_i0->inst_c0] = i1->inst_i0;
tree_can_be_moved = FALSE;
if (MONO_DEBUG_LOCAL_PROP) {
- printf (" Consequently, ACP[%d] becomes local ", tree->inst_i0->inst_c0);
+ printf (" Consequently, ACP[%d] becomes local ", (int)tree->inst_i0->inst_c0);
mono_print_tree (i1->inst_i0);
printf ("\n");
}
int mini_type_stack_size (MonoGenericSharingContext *gsctx, MonoType *t, int *align) MONO_INTERNAL;
+/* wapihandles.c */
+int mini_wapi_hps (int argc, char **argv) MONO_INTERNAL;
+int mini_wapi_semdel (int argc, char **argv) MONO_INTERNAL;
+
+int mini_wapi_seminfo (int argc, char **argv) MONO_INTERNAL;
#endif /* __MONO_MINI_H__ */
}
}
+#if 0
+
static int
extends_live (MonoInst *inst)
{
return 0;
}
+#endif
+
static void
mono_ssa_rename_vars (MonoCompile *cfg, int max_vars, MonoBasicBlock *bb, MonoInst **stack)
{