summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgHpc.hs
diff options
context:
space:
mode:
authorandy@galois.com <unknown>2006-12-13 00:19:17 +0000
committerandy@galois.com <unknown>2006-12-13 00:19:17 +0000
commit55dd028c1dc41c603316dbe843fa13c1cac30720 (patch)
tree509cbaf986cd3c9cc10f01458f4eefc72b72911c /compiler/codeGen/CgHpc.hs
parentd50e93cf95b68bf858be82025b56c9977335ed76 (diff)
downloadhaskell-55dd028c1dc41c603316dbe843fa13c1cac30720.tar.gz
Misc Hpc improvement to dynamic tracer output
- Added HPCRIX support for passing tracer filename. - Added thread tracing support. - Cleaned up use of HsFFI.h
Diffstat (limited to 'compiler/codeGen/CgHpc.hs')
-rw-r--r--compiler/codeGen/CgHpc.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/codeGen/CgHpc.hs b/compiler/codeGen/CgHpc.hs
index 82ea54a844..d5f354216c 100644
--- a/compiler/codeGen/CgHpc.hs
+++ b/compiler/codeGen/CgHpc.hs
@@ -48,7 +48,11 @@ cgTickBox mod n = do
[ CmmLoad ext_tick_box I32
, CmmLit (CmmInt (fromIntegral n) I32)
]
- , NoHint) ]
+ , NoHint)
+ , ( CmmReg (CmmGlobal CurrentTSO)
+ , PtrHint
+ )
+ ]
(Just [])
where
visible_tick = mkFastString "hs_hpc_tick"