Skip to content
  • Simon Marlow's avatar
    [project @ 2005-01-13 16:07:33 by simonmar] · 68e43002
    Simon Marlow authored
    Instead of defining NO_REGS when IN_STG_CODE==0, define
    NO_GLOBAL_REG_DECLS instead.
    
    This means that in non-STG code we can still get at the values of
    REG_R1 & co., even though the global register decls are turned off.
    This is necessary because we sometimes need to set up different stack
    layouts depending on REG_R1.
    68e43002