Tue Jan 16 12:51:16 CET 2007 Paolo Molaro <lupus@ximian.com>
authorPaolo Molaro <lupus@oddwiz.org>
Tue, 16 Jan 2007 11:52:32 +0000 (11:52 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Tue, 16 Jan 2007 11:52:32 +0000 (11:52 -0000)
* icall.c: handle endian issues for r4 and r8 types, too, in
the InitializeArray() icall.

svn path=/trunk/mono/; revision=71119

mono/metadata/ChangeLog
mono/metadata/icall.c

index 4e9669ebd85a8b3e92ec4ebfd4b2b96166cb32f0..15bbbe538c24500bfd58a79b610074b71a78e3d3 100644 (file)
@@ -1,3 +1,9 @@
+
+Tue Jan 16 12:51:16 CET 2007 Paolo Molaro <lupus@ximian.com>
+
+       * icall.c: handle endian issues for r4 and r8 types, too, in
+       the InitializeArray() icall.
+
 2007-01-15  Miguel de Icaza  <miguel@novell.com>
 
        * loader.c (mono_loader_error_prepare_exception): Clear the error
index 477603fde1a05f063acec56837198af08e68b851..d39e7e2735d25d81c458db11ebd891875672e831 100644 (file)
@@ -726,10 +726,12 @@ ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_InitializeArray (MonoAr
                break;
        case MONO_TYPE_I4:
        case MONO_TYPE_U4:
+       case MONO_TYPE_R4:
                SWAP (32);
                break;
        case MONO_TYPE_I8:
        case MONO_TYPE_U8:
+       case MONO_TYPE_R8:
                SWAP (64);
                break;
        }