[commit: ghc] master: Fix type of GarbageCollect declaration (56d7451)

git at git.haskell.org git at git.haskell.org
Tue Nov 29 22:19:38 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/56d74515396c8b6360ba7898cbc4b68f0f1fb2ea/ghc

>---------------------------------------------------------------

commit 56d74515396c8b6360ba7898cbc4b68f0f1fb2ea
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Tue Nov 29 16:51:07 2016 -0500

    Fix type of GarbageCollect declaration
    
    Test Plan: Validate
    
    Reviewers: simonmar, austin, erikd
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2764


>---------------------------------------------------------------

56d74515396c8b6360ba7898cbc4b68f0f1fb2ea
 rts/sm/GC.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rts/sm/GC.h b/rts/sm/GC.h
index 707d4b5..44ae7e3 100644
--- a/rts/sm/GC.h
+++ b/rts/sm/GC.h
@@ -18,7 +18,7 @@
 
 #include "HeapAlloc.h"
 
-void GarbageCollect (rtsBool force_major_gc,
+void GarbageCollect (uint32_t collect_gen,
                      rtsBool do_heap_census,
                      uint32_t gc_type, Capability *cap, rtsBool idle_cap[]);
 



More information about the ghc-commits mailing list