[project @ 2005-01-13 16:07:33 by simonmar]
authorsimonmar <unknown>
Thu, 13 Jan 2005 16:07:33 +0000 (16:07 +0000)
committersimonmar <unknown>
Thu, 13 Jan 2005 16:07:33 +0000 (16:07 +0000)
commit68e430022a8c6b634f65edda1918a3fc3dc9acdf
treef5e79459fc7ef027dbec0736a53cae1e683e59a0
parenta689e22ff1a3e3e381d551466acf7be4955c07da
[project @ 2005-01-13 16:07:33 by simonmar]
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.
ghc/includes/Stg.h