Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
606ec8dc
Commit
606ec8dc
authored
Mar 13, 1997
by
sof
Browse files
[project @ 1997-03-13 07:52:30 by sof]
prof-conc setting and resetting of TSO_CCC & CCC
parent
bc9eb0fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/includes/StgRegs.lh
View file @
606ec8dc
...
...
@@ -140,7 +140,7 @@ SaveAllStgContext(STG_NO_ARGS)
{
SaveAllStgRegs();
#ifdef CONCURRENT
# ifdef
PAR
# if
def
ined(PROFILING) || defined(
PAR
)
TSO_CCC(CurrentTSO) = CCC;
CCC = (CostCentre)STATIC_CC_REF(CC_MAIN);
# endif
...
...
@@ -279,8 +279,10 @@ RestoreAllStgRegs (STG_NO_ARGS)
StkStubReg = STK_STUB_closure;
#endif
#ifdef PAR
#if CONCURRENT
# if defined(PROFILING) || defined(PAR)
CCC = TSO_CCC(CurrentTSO);
# endif
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment