summaryrefslogtreecommitdiff
path: root/rts/RtsUtils.c
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-04-16 10:45:00 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-04-16 10:46:59 +0100
commit295f97f74dcfc22067b6550f3cbb361c982d5042 (patch)
tree037f8a8407cff582ed9fa1c1a88764f83668d44e /rts/RtsUtils.c
parent6c05b27e5bafe9f232e7014f4760335f5e3ba591 (diff)
downloadhaskell-295f97f74dcfc22067b6550f3cbb361c982d5042.tar.gz
rts/RtsUtils.c: drop stale comments
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r--rts/RtsUtils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c
index 85f951addd..695d5a1f98 100644
--- a/rts/RtsUtils.c
+++ b/rts/RtsUtils.c
@@ -76,7 +76,7 @@ stgMallocBytes (size_t n, char *msg)
if (n == 0) return NULL;
/* don't fflush(stdout); WORKAROUND bug in Linux glibc */
- rtsConfig.mallocFailHook((W_) n, msg); /*msg*/
+ rtsConfig.mallocFailHook((W_) n, msg);
stg_exit(EXIT_INTERNAL_ERROR);
}
IF_DEBUG(sanity, memset(space, 0xbb, n));
@@ -90,7 +90,7 @@ stgReallocBytes (void *p, size_t n, char *msg)
if ((space = realloc(p, n)) == NULL) {
/* don't fflush(stdout); WORKAROUND bug in Linux glibc */
- rtsConfig.mallocFailHook((W_) n, msg); /*msg*/
+ rtsConfig.mallocFailHook((W_) n, msg);
stg_exit(EXIT_INTERNAL_ERROR);
}
return space;
@@ -103,7 +103,7 @@ stgCallocBytes (size_t n, size_t m, char *msg)
if ((space = calloc(n, m)) == NULL) {
/* don't fflush(stdout); WORKAROUND bug in Linux glibc */
- rtsConfig.mallocFailHook((W_) n*m, msg); /*msg*/
+ rtsConfig.mallocFailHook((W_) n*m, msg);
stg_exit(EXIT_INTERNAL_ERROR);
}
return space;