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:
986ac01
)
[project @ 2001-11-23 11:42:11 by simonmar]
author
simonmar
<unknown>
Fri, 23 Nov 2001 11:42:11 +0000
(11:42 +0000)
committer
simonmar
<unknown>
Fri, 23 Nov 2001 11:42:11 +0000
(11:42 +0000)
We don't need to consider Hp as a volatile register across C calls; it
is already saved by the CALLER_SAVES_SYSTEM macro.
ghc/compiler/codeGen/CgBindery.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/codeGen/CgBindery.lhs
b/ghc/compiler/codeGen/CgBindery.lhs
index
bf11d6a
..
7414569
100644
(file)
--- a/
ghc/compiler/codeGen/CgBindery.lhs
+++ b/
ghc/compiler/codeGen/CgBindery.lhs
@@
-326,7
+326,6
@@
getVolatileRegs vars = do
in
case volatile_loc of
RegLoc reg -> consider_reg reg
- VirHpLoc _ -> consider_reg Hp
VirNodeLoc _ -> consider_reg node
non_reg_loc -> returnFC Nothing