projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-10-25 15:27:22 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
Apply.cmm
diff --git
a/ghc/rts/Apply.cmm
b/ghc/rts/Apply.cmm
index
c627995
..
d194252
100644
(file)
--- a/
ghc/rts/Apply.cmm
+++ b/
ghc/rts/Apply.cmm
@@
-41,13
+41,13
@@
INFO_TABLE_RET( stg_ap_0,
// fn is in R1, no args on the stack
IF_DEBUG(apply,
// fn is in R1, no args on the stack
IF_DEBUG(apply,
- foreign "C" debugBelch(stg_ap_0_ret_str);
- foreign "C" printClosure(R1 "ptr"));
+ foreign "C" debugBelch(stg_ap_0_ret_str) [R1];
+ foreign "C" printClosure(R1 "ptr") [R1]);
IF_DEBUG(sanity,
foreign "C" checkStackChunk(Sp+WDS(1) "ptr",
CurrentTSO + OFFSET_StgTSO_stack +
IF_DEBUG(sanity,
foreign "C" checkStackChunk(Sp+WDS(1) "ptr",
CurrentTSO + OFFSET_StgTSO_stack +
- WDS(StgTSO_stack_size(CurrentTSO)) "ptr"));
+ WDS(StgTSO_stack_size(CurrentTSO)) "ptr") [R1]);
Sp_adj(1);
ENTER();
Sp_adj(1);
ENTER();