micro-opt: replace stmGetEnclosingTRec() with a field access
authorSimon Marlow <marlowsd@gmail.com>
Wed, 14 Oct 2009 13:17:27 +0000 (13:17 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 14 Oct 2009 13:17:27 +0000 (13:17 +0000)
commit0856ac59cfb455d32a3042317fdba0f5e85cab9c
treee744d0c909780dabeffa65babfb9c4535f9a4d0a
parentc5f93af1c663ab68f3b18f6a8c3264165a1c8883
micro-opt: replace stmGetEnclosingTRec() with a field access
While fixing #3578 I noticed that this function was just a field
access to StgTRecHeader, so I inlined it manually.
includes/mkDerivedConstants.c
rts/Exception.cmm
rts/PrimOps.cmm
rts/RaiseAsync.c
rts/STM.c
rts/STM.h
rts/Schedule.c