From: simonmar Date: Fri, 23 Nov 2001 11:42:11 +0000 (+0000) Subject: [project @ 2001-11-23 11:42:11 by simonmar] X-Git-Tag: Approximately_9120_patches~542 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9ef74223b4755d107b412ed7e6416231a5f65d46;p=ghc-hetmet.git [project @ 2001-11-23 11:42:11 by simonmar] We don't need to consider Hp as a volatile register across C calls; it is already saved by the CALLER_SAVES_SYSTEM macro. --- diff --git a/ghc/compiler/codeGen/CgBindery.lhs b/ghc/compiler/codeGen/CgBindery.lhs index bf11d6a..7414569 100644 --- 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