+2003-01-14 Dietmar Maurer <dietmar@ximian.com>
+
+ * jit.c (mono_jit_compile_method): make sure runtime_init is called
+ (mono_analyze_stack): make sure runtime_init is called
+
2003-01-14 Martin Baulig <martin@ximian.com>
* debug.c (debugger_update_symbol_file_table): Moved all the
if (!l) {
+ /* make sure runtime_init is called */
+ mono_class_vtable (cfg->domain, cm->klass);
+
mono_jit_stats.inlined_methods++;
if (cm->signature->hasthis)
(cm->klass->marshalbyref || shared_to_unshared_call))) {
mono_class_init (cm->klass);
-
+
if (cm->klass->flags & TYPE_ATTRIBUTE_INTERFACE)
t2 = mono_ctree_new_leaf (mp, MB_TERM_INTF_ADDR);
else
g_hash_table_insert (jit_code_hash, method, addr);
+ /* make sure runtime_init is called */
+ mono_class_vtable (target_domain, method->klass);
+
return addr;
}