projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
805d849
)
Fix an assert which can be hit for types unloadable types.
author
Zoltan Varga
<vargaz@gmail.com>
Mon, 3 Jan 2011 11:44:46 +0000
(12:44 +0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Mon, 3 Jan 2011 14:42:44 +0000
(15:42 +0100)
mono/mini/mini-gc.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini-gc.c
b/mono/mini/mini-gc.c
index 44ab0326e39451f9c574c49ad08251a4a1a81a26..b1aff81cc303d58869f69b7545b54a7d8030af70 100644
(file)
--- a/
mono/mini/mini-gc.c
+++ b/
mono/mini/mini-gc.c
@@
-1554,7
+1554,8
@@
process_variables (MonoCompile *cfg)
mono_class_compute_gc_descriptor (ins->klass);
bitmap = mono_gc_get_bitmap_for_descr (ins->klass->gc_descr, &numbits);
- g_assert (bitmap);
+ if (!bitmap)
+ pin = TRUE;
/*
* Most vtypes are marked volatile because of the LDADDR instructions,