projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d86a0c
)
[project @ 2003-06-13 09:27:13 by simonmar]
author
simonmar
<unknown>
Fri, 13 Jun 2003 09:27:13 +0000
(09:27 +0000)
committer
simonmar
<unknown>
Fri, 13 Jun 2003 09:27:13 +0000
(09:27 +0000)
Force -fvia-C when profiling or ticky-ticky is on.
ghc/compiler/main/DriverPipeline.hs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/DriverPipeline.hs
b/ghc/compiler/main/DriverPipeline.hs
index
605f082
..
e0aa062
100644
(file)
--- a/
ghc/compiler/main/DriverPipeline.hs
+++ b/
ghc/compiler/main/DriverPipeline.hs
@@
-1123,6
+1123,8
@@
hscMaybeAdjustLang current_hsc_lang = do
| current_hsc_lang == HscInterpreted = current_hsc_lang
-- force -fvia-C if we are being asked for a .hc file
| todo == StopBefore HCc || keep_hc = HscC
+ -- force -fvia-C when profiling or ticky-ticky is on
+ | opt_SccProfilingOn || opt_DoTickyProfiling = HscC
-- otherwise, stick to the plan
| otherwise = current_hsc_lang
return hsc_lang