[commit: ghc] master: Revert "Fix typos 'resizze'" this is z-encoding (as hvr tells me) (53cc943)

git at git.haskell.org git at git.haskell.org
Sat Aug 16 17:23:58 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/53cc943a62d790e5381133f95fd1994cd7a805aa/ghc

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

commit 53cc943a62d790e5381133f95fd1994cd7a805aa
Author: Gabor Greif <ggreif at gmail.com>
Date:   Sat Aug 16 19:20:18 2014 +0200

    Revert "Fix typos 'resizze'"
    this is z-encoding (as hvr tells me)
    
    This reverts commit 425d5178af55620efa00e6e16426f491c63ad533.


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

53cc943a62d790e5381133f95fd1994cd7a805aa
 includes/stg/MiscClosures.h | 2 +-
 rts/Linker.c                | 2 +-
 rts/PrimOps.cmm             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h
index e714be3..d2b933d 100644
--- a/includes/stg/MiscClosures.h
+++ b/includes/stg/MiscClosures.h
@@ -348,7 +348,7 @@ RTS_FUN_DECL(stg_newByteArrayzh);
 RTS_FUN_DECL(stg_newPinnedByteArrayzh);
 RTS_FUN_DECL(stg_newAlignedPinnedByteArrayzh);
 RTS_FUN_DECL(stg_shrinkMutableByteArrayzh);
-RTS_FUN_DECL(stg_resizeMutableByteArrayzh);
+RTS_FUN_DECL(stg_resizzeMutableByteArrayzh);
 RTS_FUN_DECL(stg_casIntArrayzh);
 RTS_FUN_DECL(stg_newArrayzh);
 RTS_FUN_DECL(stg_newArrayArrayzh);
diff --git a/rts/Linker.c b/rts/Linker.c
index e3ee085..a0ad90c 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1195,7 +1195,7 @@ typedef struct _RtsSymbolVal {
       SymI_HasProto(stg_newPinnedByteArrayzh)                           \
       SymI_HasProto(stg_newAlignedPinnedByteArrayzh)                    \
       SymI_HasProto(stg_shrinkMutableByteArrayzh)                       \
-      SymI_HasProto(stg_resizeMutableByteArrayzh)                       \
+      SymI_HasProto(stg_resizzeMutableByteArrayzh)                      \
       SymI_HasProto(newSpark)                                           \
       SymI_HasProto(performGC)                                          \
       SymI_HasProto(performMajorGC)                                     \
diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm
index bcd9c93..ee50f7f 100644
--- a/rts/PrimOps.cmm
+++ b/rts/PrimOps.cmm
@@ -158,7 +158,7 @@ stg_shrinkMutableByteArrayzh ( gcptr mba, W_ new_size )
 // MutableByteArray resized in-place or, if not possible, a newly
 // allocated (unpinned) MutableByteArray (with the original content
 // copied over)
-stg_resizeMutableByteArrayzh ( gcptr mba, W_ new_size )
+stg_resizzeMutableByteArrayzh ( gcptr mba, W_ new_size )
 // MutableByteArray# s -> Int# -> State# s -> (# State# s,MutableByteArray# s #)
 {
    W_ new_size_wds;



More information about the ghc-commits mailing list