2009-08-21 Zoltan Varga <vargaz@gmail.com>
authorZoltan Varga <vargaz@gmail.com>
Fri, 21 Aug 2009 19:59:18 +0000 (19:59 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 21 Aug 2009 19:59:18 +0000 (19:59 -0000)
* 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

mono/mini/ChangeLog
mono/mini/mini-arm.c

index d892ea95f10175f96fddbd374ec2e3f4d40030b5..9f0b5b0e29581a9a23e40f3349664349fbf290d6 100644 (file)
@@ -1,5 +1,8 @@
 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.
 
index 51c156f6763703a1da6a577731b7e27467f4c71e..47e0a1cf9a08f17fe9dd4e71a1c76afbe85da340 100644 (file)
@@ -960,7 +960,7 @@ mono_arch_allocate_vars (MonoCompile *cfg)
        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;