[jit] Remove some obsolete code from mini_type_is_hfa ().
authorZoltan Varga <vargaz@gmail.com>
Fri, 18 Sep 2015 16:56:29 +0000 (12:56 -0400)
committerZoltan Varga <vargaz@gmail.com>
Fri, 18 Sep 2015 16:56:33 +0000 (12:56 -0400)
mono/mini/mini-codegen.c

index 13ac12780b35bbe20ce27ab2e64733c3b3849212..c6efc5b78f864f67a42613376e6462921b8c9a02 100644 (file)
@@ -2754,9 +2754,6 @@ mini_type_is_hfa (MonoType *t, int *out_nfields, int *out_esize)
                                return FALSE;
                        prev_ftype = ftype;
                        nfields += nested_nfields;
-                       // FIXME: Nested float structs are aligned to 8 bytes
-                       if (ftype->type == MONO_TYPE_R4)
-                               return FALSE;
                } else {
                        if (!(!ftype->byref && (ftype->type == MONO_TYPE_R4 || ftype->type == MONO_TYPE_R8)))
                                return FALSE;