[kaffe] CVS kaffe (robilad): Clarified asserts

Kaffe CVS cvs-commits at kaffe.org
Mon Oct 25 07:30:46 PDT 2004


PatchSet 5362 
Date: 2004/10/25 14:26:28
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Clarified asserts

2004-10-25  Riccardo Mottola <rmottola at users.sf.net>

        * kaffe/kaffevm/kaffe-gc/gc-incremental.c : split assertion for finer
        debug grain

Members: 
	ChangeLog:1.2914->1.2915 
	kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.10->1.11 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2914 kaffe/ChangeLog:1.2915
--- kaffe/ChangeLog:1.2914	Mon Oct 25 00:21:04 2004
+++ kaffe/ChangeLog	Mon Oct 25 14:26:28 2004
@@ -1,3 +1,8 @@
+2004-10-25  Riccardo Mottola <rmottola at users.sf.net>
+
+        * kaffe/kaffevm/kaffe-gc/gc-incremental.c : split assertion for finer
+        debug grain
+
 2004-10-24  Noa Resare  <noa at resare.com>
 
        * libraries/clib/io/ObjectInputStream.c:
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.10 kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.11
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c:1.10	Thu Oct 21 21:08:49 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-incremental.c	Mon Oct 25 14:26:30 2004
@@ -1033,7 +1033,8 @@
 	int times = 0;
 
 	assert(gc_init != 0);
-	assert(gcFunctions[fidx].description != NULL && size != 0);
+	assert(gcFunctions[fidx].description != NULL);
+	assert(size != 0);
 
 	size += sizeof(gc_unit);
 




More information about the kaffe mailing list