summaryrefslogtreecommitdiff
path: root/compiler/parser/cutils.c
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-07-18 22:09:03 -0500
committerAustin Seipp <austin@well-typed.com>2014-07-20 16:55:48 -0500
commit20986a63b427ac6061c3c871098ed4f045b07201 (patch)
tree2c31a2119f1f71c58a1ea2b6c89a61350c4d7529 /compiler/parser/cutils.c
parentd2464b56a2d3ae56617e2d82391f4e180e1e1180 (diff)
downloadhaskell-20986a63b427ac6061c3c871098ed4f045b07201.tar.gz
parser: detabify/dewhitespace cutils.c
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'compiler/parser/cutils.c')
-rw-r--r--compiler/parser/cutils.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/compiler/parser/cutils.c b/compiler/parser/cutils.c
index c42ec9e3ce..d714a0cb2a 100644
--- a/compiler/parser/cutils.c
+++ b/compiler/parser/cutils.c
@@ -37,7 +37,7 @@ ghc_memcmp_off( HsPtr a1, HsInt i, HsPtr a2, HsInt len )
}
void
-enableTimingStats( void ) /* called from the driver */
+enableTimingStats( void ) /* called from the driver */
{
RtsFlags.GcFlags.giveStats = ONELINE_GC_STATS;
}
@@ -47,9 +47,7 @@ setHeapSize( HsInt size )
{
RtsFlags.GcFlags.heapSizeSuggestion = size / BLOCK_SIZE;
if (RtsFlags.GcFlags.maxHeapSize != 0 &&
- RtsFlags.GcFlags.heapSizeSuggestion > RtsFlags.GcFlags.maxHeapSize) {
- RtsFlags.GcFlags.maxHeapSize = RtsFlags.GcFlags.heapSizeSuggestion;
+ RtsFlags.GcFlags.heapSizeSuggestion > RtsFlags.GcFlags.maxHeapSize) {
+ RtsFlags.GcFlags.maxHeapSize = RtsFlags.GcFlags.heapSizeSuggestion;
}
}
-
-