[svn:parrot] r40559 - in trunk: examples/benchmarks src/dynoplibs src/gc
mikehh at svn.parrot.org
mikehh at svn.parrot.org
Sat Aug 15 10:51:22 UTC 2009
Author: mikehh
Date: Sat Aug 15 10:51:21 2009
New Revision: 40559
URL: https://trac.parrot.org/parrot/changeset/40559
Log:
fix codetest failures in r40556 (3 files - space after comma, trailing spaces, if(
Modified:
trunk/examples/benchmarks/rand.pir
trunk/src/dynoplibs/math.ops
trunk/src/gc/gc_ms.c
Modified: trunk/examples/benchmarks/rand.pir
==============================================================================
--- trunk/examples/benchmarks/rand.pir Sat Aug 15 10:43:54 2009 (r40558)
+++ trunk/examples/benchmarks/rand.pir Sat Aug 15 10:51:21 2009 (r40559)
@@ -51,7 +51,7 @@
if i > 0 goto null_loop_top
tn1 = time
tnull = tn1 - tn0
-
+
t0 = time
i = count
t0_top:
Modified: trunk/src/dynoplibs/math.ops
==============================================================================
--- trunk/src/dynoplibs/math.ops Sat Aug 15 10:43:54 2009 (r40558)
+++ trunk/src/dynoplibs/math.ops Sat Aug 15 10:51:21 2009 (r40559)
@@ -64,7 +64,7 @@
=cut
inline op rand(out INT, in INT) {
- $1 = Parrot_range_rand(0,$2,0);
+ $1 = Parrot_range_rand(0, $2, 0);
}
=item B<rand>(out NUM, in NUM, in NUM)
@@ -104,7 +104,7 @@
=cut
inline op rand(out INT, in INT, in INT) {
- $1 = Parrot_range_rand($2,$3,0);
+ $1 = Parrot_range_rand($2, $3, 0);
}
=back
Modified: trunk/src/gc/gc_ms.c
==============================================================================
--- trunk/src/gc/gc_ms.c Sat Aug 15 10:43:54 2009 (r40558)
+++ trunk/src/gc/gc_ms.c Sat Aug 15 10:51:21 2009 (r40559)
@@ -429,7 +429,7 @@
ptr = (PObj *)pool->newfree;
pool->newfree = (void *)((char *)pool->newfree + pool->object_size);
arena->used++;
- if(pool->newfree >= pool->newlast)
+ if (pool->newfree >= pool->newlast)
pool->newfree = NULL;
PARROT_ASSERT(ptr < pool->newlast);
}
@@ -587,7 +587,7 @@
Small_Object_Arena * const arena = pool->last_Arena;
ptr = (PMC_EXT *)pool->newfree;
pool->newfree = (void *)((char *)pool->newfree + pool->object_size);
- if(pool->newfree >= pool->newlast)
+ if (pool->newfree >= pool->newlast)
pool->newfree = NULL;
arena->used++;
PARROT_ASSERT(ptr < pool->newlast);
More information about the parrot-commits
mailing list