diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-10-24 09:13:57 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-10-24 09:13:57 +0000 |
commit | ab0e778ccfde61aed4c22679b24d175fc6cc9bf3 (patch) | |
tree | a0f6148a77644c5a7baa68b521bf3b1116dce50b /rts/parallel | |
parent | 2246c514eade324d70058ba3135dc0c51ee9353b (diff) | |
download | haskell-ab0e778ccfde61aed4c22679b24d175fc6cc9bf3.tar.gz |
Split GC.c, and move storage manager into sm/ directory
In preparation for parallel GC, split up the monolithic GC.c file into
smaller parts. Also in this patch (and difficult to separate,
unfortunatley):
- Don't include Stable.h in Rts.h, instead just include it where
necessary.
- consistently use STATIC_INLINE in source files, and INLINE_HEADER
in header files. STATIC_INLINE is now turned off when DEBUG is on,
to make debugging easier.
- The GC no longer takes the get_roots function as an argument.
We weren't making use of this generalisation.
Diffstat (limited to 'rts/parallel')
-rw-r--r-- | rts/parallel/GranSim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/parallel/GranSim.c b/rts/parallel/GranSim.c index b1cc0962be..1b26bb9dff 100644 --- a/rts/parallel/GranSim.c +++ b/rts/parallel/GranSim.c @@ -1,5 +1,5 @@ /* - Time-stamp: <Tue Mar 06 2001 00:17:42 Stardate: [-30]6285.06 hwloidl> + Time-stamp: <2006-10-19 15:12:58 simonmar> Variables and functions specific to GranSim the parallelism simulator for GPH. @@ -45,6 +45,7 @@ #include "RtsUtils.h" #include "StgMiscClosures.h" #include "StgTypes.h" +#include "Storage.h" // for recordMutable #include "Schedule.h" #include "SchedAPI.h" // for pushClosure #include "GranSimRts.h" @@ -52,7 +53,6 @@ #include "ParallelRts.h" #include "ParallelDebug.h" #include "Sparks.h" -#include "Storage.h" // for recordMutable //@node Prototypes and externs, Constants and Variables, Includes, GranSim specific code |