projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an SRT to each CmmCall and added the current SRT to the CgMonad
[ghc-hetmet.git]
/
compiler
/
cmm
/
Cmm.hs
diff --git
a/compiler/cmm/Cmm.hs
b/compiler/cmm/Cmm.hs
index
cae1633
..
7ec5ad0
100644
(file)
--- a/
compiler/cmm/Cmm.hs
+++ b/
compiler/cmm/Cmm.hs
@@
-28,6
+28,7
@@
module Cmm (
import MachOp
import CLabel
import ForeignCall
import MachOp
import CLabel
import ForeignCall
+import ClosureInfo
import Unique
import UniqFM
import FastString
import Unique
import UniqFM
import FastString
@@
-116,6
+117,7
@@
data CmmStmt
CmmCallTarget
CmmHintFormals -- zero or more results
CmmActuals -- zero or more arguments
CmmCallTarget
CmmHintFormals -- zero or more results
CmmActuals -- zero or more arguments
+ C_SRT -- SRT for the continuation of the call
| CmmBranch BlockId -- branch to another BB in this fn
| CmmBranch BlockId -- branch to another BB in this fn