patch applied (ghc-6.12/ghc): micro-opt: replace stmGetEnclosingTRec() with a field access

Ian Lynagh igloo at earth.li
Fri Oct 23 19:14:57 EDT 2009


Wed Oct 14 06:17:27 PDT 2009  Simon Marlow <marlowsd at gmail.com>
  * micro-opt: replace stmGetEnclosingTRec() with a field access
  Ignore-this: 5ca954541072cdd9e91656400db81d52
  While fixing #3578 I noticed that this function was just a field
  access to StgTRecHeader, so I inlined it manually.

    M ./includes/mkDerivedConstants.c +2
    M ./rts/Exception.cmm -2 +2
    M ./rts/PrimOps.cmm -5 +5
    M ./rts/RaiseAsync.c -2 +2
    M ./rts/STM.c -10
    M ./rts/STM.h -7
    M ./rts/Schedule.c -2 +2

View patch online:
http://darcs.haskell.org/ghc-6.12/ghc/_darcs/patches/20091014131727-12142-b8bbecf16ab183e037fd4c0ce65081e901183ce8.gz



More information about the Cvs-ghc mailing list