[project @ 2001-11-23 11:42:11 by simonmar]
authorsimonmar <unknown>
Fri, 23 Nov 2001 11:42:11 +0000 (11:42 +0000)
committersimonmar <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

index bf11d6a..7414569 100644 (file)
@@ -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