* mini-arm.c (mono_arch_allocate_vars): Align small vtypes to 4 bytes too since
the code in the prolog requires it.
svn path=/trunk/mono/; revision=145635
+2009-11-07 Zoltan Varga <vargaz@gmail.com>
+
+ * mini-arm.c (mono_arch_allocate_vars): Align small vtypes to 4 bytes too since
+ the code in the prolog requires it.
+
2009-11-06 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c debugger-agent.c: Android changes from Koushik K. Dutta
*/
if (align < 4 && size >= 4)
align = 4;
+ /* The code in the prolog () stores words when storing vtypes received in a register */
+ if (MONO_TYPE_ISSTRUCT (sig->params [i]))
+ align = 4;
offset += align - 1;
offset &= ~(align - 1);
inst->inst_offset = offset;