Remove unused stack variable
authorIan Lynagh <igloo@earth.li>
Tue, 21 Jul 2009 20:28:07 +0000 (20:28 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 21 Jul 2009 20:28:07 +0000 (20:28 +0000)
cbits/gmp-wrappers.cmm

index 05ce37f..4c0ec4a 100644 (file)
@@ -234,12 +234,11 @@ name                                                                    \
   W_ mp_tmp1;                                                           \
   W_ mp_tmp2;                                                           \
   W_ mp_result1;                                                        \
-  W_ mp_result2;                                                        \
                                                                         \
   /* call doYouWantToGC() */                                            \
   MAYBE_GC(R2_PTR & R4_PTR, name);                                      \
                                                                         \
-  STK_CHK_GEN( 4 * SIZEOF_MP_INT, R2_PTR & R4_PTR, name );              \
+  STK_CHK_GEN( 3 * SIZEOF_MP_INT, R2_PTR & R4_PTR, name );              \
                                                                         \
   s1 = W_TO_INT(R1);                                                    \
   d1 = R2;                                                              \
@@ -249,7 +248,6 @@ name                                                                    \
   mp_tmp1    = Sp - 1 * SIZEOF_MP_INT;                                  \
   mp_tmp2    = Sp - 2 * SIZEOF_MP_INT;                                  \
   mp_result1 = Sp - 3 * SIZEOF_MP_INT;                                  \
-  mp_result2 = Sp - 4 * SIZEOF_MP_INT;                                  \
   MP_INT__mp_alloc(mp_tmp1) = W_TO_INT(StgArrWords_words(d1));          \
   MP_INT__mp_size(mp_tmp1)  = (s1);                                     \
   MP_INT__mp_d(mp_tmp1)     = BYTE_ARR_CTS(d1);                         \