X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FPrimOps.cmm;h=12322f297fde1243e65e21138b0506a18cbd5c9d;hb=d0ea71ec5000050ec22487029a9fcf6da76ee422;hp=cd348469251243449c2ff9eea3bbd67bdf381b34;hpb=efb02b428941021771c9b9b955bba3ec0214dbaf;p=ghc-hetmet.git diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm index cd34846..12322f2 100644 --- a/rts/PrimOps.cmm +++ b/rts/PrimOps.cmm @@ -1884,8 +1884,6 @@ unpackClosurezh_fast W_ info, ptrs, nptrs, p, ptrs_arr, nptrs_arr; info = %GET_STD_INFO(R1); - ptrs = TO_W_(%INFO_PTRS(info)); - nptrs = TO_W_(%INFO_NPTRS(info)); // Some closures have non-standard layout, so we omit those here. W_ type; @@ -1903,6 +1901,8 @@ unpackClosurezh_fast goto out; } default: { + ptrs = TO_W_(%INFO_PTRS(info)); + nptrs = TO_W_(%INFO_NPTRS(info)); goto out; }} out: