* mini-arm.c (mono_arch_allocate_vars): Use FP as the frame pointer as
was done previously, since using SP causes too many problems.
svn path=/trunk/mono/; revision=140434
2009-08-21 Zoltan Varga <vargaz@gmail.com>
+ * mini-arm.c (mono_arch_allocate_vars): Use FP as the frame pointer as
+ was done previously, since using SP causes too many problems.
+
* exceptions-arm.c: Fix the handling of sp/fp so unwinding through
frames without a frame pointer works.
MonoMethodHeader *header;
MonoInst *inst;
int i, offset, size, align, curinst;
- int frame_reg = ARMREG_SP;
+ int frame_reg = ARMREG_FP;
/* FIXME: this will change when we use FP as gcc does */
cfg->flags |= MONO_CFG_HAS_SPILLUP;