diff options
author | andy@galois.com <unknown> | 2006-12-13 00:19:17 +0000 |
---|---|---|
committer | andy@galois.com <unknown> | 2006-12-13 00:19:17 +0000 |
commit | 55dd028c1dc41c603316dbe843fa13c1cac30720 (patch) | |
tree | 509cbaf986cd3c9cc10f01458f4eefc72b72911c /compiler/codeGen/CgHpc.hs | |
parent | d50e93cf95b68bf858be82025b56c9977335ed76 (diff) | |
download | haskell-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.hs | 6 |
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" |