diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-10-14 13:17:27 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-10-14 13:17:27 +0000 |
commit | 0856ac59cfb455d32a3042317fdba0f5e85cab9c (patch) | |
tree | e744d0c909780dabeffa65babfb9c4535f9a4d0a /rts/STM.h | |
parent | c5f93af1c663ab68f3b18f6a8c3264165a1c8883 (diff) | |
download | haskell-0856ac59cfb455d32a3042317fdba0f5e85cab9c.tar.gz |
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.
Diffstat (limited to 'rts/STM.h')
-rw-r--r-- | rts/STM.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -83,13 +83,6 @@ void stmFreeAbortedTRec(Capability *cap, StgTRecHeader *trec); void stmCondemnTransaction(Capability *cap, StgTRecHeader *trec); -/* - * Return the trec within which the specified trec was created (not - * valid if trec==NO_TREC). - */ - -StgTRecHeader *stmGetEnclosingTRec(StgTRecHeader *trec); - /*---------------------------------------------------------------------- Validation |