[utils] Another try to fix the windows build.
[mono.git] / mono / metadata / sgen-gc.h
index c8f769956cd9e3b5d19d7232fe2d5022563c7a07..eee83dcf1503339ba0f42c4304ef0dd334c9691c 100644 (file)
@@ -807,7 +807,7 @@ sgen_obj_get_descriptor_safe (char *obj)
  * vtable field, is not intact.  This is necessary for the parallel
  * collector.
  */
-static inline mword
+static MONO_NEVER_INLINE mword
 sgen_par_object_get_size (MonoVTable *vtable, MonoObject* o)
 {
        mword descr = (mword)vtable->gc_descr;