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:
25a3559
)
[project @ 2000-01-19 16:44:51 by sewardj]
author
sewardj
<unknown>
Wed, 19 Jan 2000 16:44:51 +0000
(16:44 +0000)
committer
sewardj
<unknown>
Wed, 19 Jan 2000 16:44:51 +0000
(16:44 +0000)
Add comment about code generation for debug tracing.
ghc/compiler/nativeGen/MachCode.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/MachCode.lhs
b/ghc/compiler/nativeGen/MachCode.lhs
index
a7ed64e
..
0af2745
100644
(file)
--- a/
ghc/compiler/nativeGen/MachCode.lhs
+++ b/
ghc/compiler/nativeGen/MachCode.lhs
@@
-49,6
+49,8
@@
stmt2Instrs stmt = case stmt of
StFunBegin lab -> returnInstr (IF_ARCH_alpha(FUNBEGIN lab,LABEL lab))
#else
-- StFunBegin, special tracing code for x86-Linux only
+ -- requires you to supply
+ -- void native_trace ( char* str )
StFunBegin lab -> getUniqLabelNCG `thenUs` \ str_lbl ->
returnUs (mkSeqInstrs [
LABEL lab,