Disable managed string alloc on amd64 for now.
authorPaolo Molaro <lupus@oddwiz.org>
Fri, 14 Sep 2007 18:37:15 +0000 (18:37 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Fri, 14 Sep 2007 18:37:15 +0000 (18:37 -0000)
svn path=/trunk/mono/; revision=85832

mono/metadata/boehm-gc.c

index daea6ee104bdda171a1ab694d740c28f09c4484c..28fd2e3141f19ca7b52fd6c887157cd5c9c5f99d 100644 (file)
@@ -510,6 +510,9 @@ mono_gc_get_managed_allocator (MonoVTable *vtable, gboolean for_box)
                return NULL;
        if (klass->byval_arg.type == MONO_TYPE_STRING) {
                atype = ATYPE_STRING;
+#ifdef __x86_64__
+               return NULL;
+#endif
        } else if (!klass->has_references) {
                if (for_box)
                        atype = ATYPE_FREEPTR_FOR_BOX;