diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-08-21 18:44:31 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-08-21 18:44:31 +0100 |
commit | 15856e97d3107f75be40588ec2dc8e6d670463fe (patch) | |
tree | 71c1e827241d150298c0b7dea412506a5c2f22ae /includes/CodeGen.Platform.hs | |
parent | 75700644a7430612b40ba94476a5749594010671 (diff) | |
download | haskell-15856e97d3107f75be40588ec2dc8e6d670463fe.tar.gz |
Add haveRegBase to CodeGen.Platform
Diffstat (limited to 'includes/CodeGen.Platform.hs')
-rw-r--r-- | includes/CodeGen.Platform.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/CodeGen.Platform.hs b/includes/CodeGen.Platform.hs index 5ab3642e75..7b29edea0c 100644 --- a/includes/CodeGen.Platform.hs +++ b/includes/CodeGen.Platform.hs @@ -143,3 +143,10 @@ activeStgRegs = [ #endif ] +haveRegBase :: Bool +#ifdef REG_Base +haveRegBase = True +#else +haveRegBase = False +#endif + |