[kaffe] CVS kaffe (dalibor): Moved ASSERT_ON_BLOCK away from header file
Kaffe CVS
cvs-commits at kaffe.org
Wed Sep 1 03:34:48 PDT 2004
PatchSet 5134
Date: 2004/09/01 10:31:03
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Moved ASSERT_ON_BLOCK away from header file
2004-09-01 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/kaffe-gc/gc-mem.h (ASSERT_ONBLOCK):
Removed.
* kaffe/kaffevm/kaffe-gc/gc-mem.c (ASSERT_ONBLOCK):
Moved over here.
Members:
ChangeLog:1.2690->1.2691
kaffe/kaffevm/kaffe-gc/gc-mem.c:1.8->1.9
kaffe/kaffevm/kaffe-gc/gc-mem.h:1.6->1.7
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2690 kaffe/ChangeLog:1.2691
--- kaffe/ChangeLog:1.2690 Wed Sep 1 10:20:15 2004
+++ kaffe/ChangeLog Wed Sep 1 10:31:03 2004
@@ -1,5 +1,13 @@
2004-09-01 Dalibor Topic <robilad at kaffe.org>
+ * kaffe/kaffevm/kaffe-gc/gc-mem.h (ASSERT_ONBLOCK):
+ Removed.
+
+ * kaffe/kaffevm/kaffe-gc/gc-mem.c (ASSERT_ONBLOCK):
+ Moved over here.
+
+2004-09-01 Dalibor Topic <robilad at kaffe.org>
+
* kaffe/kaffevm/kaffe-gc/gc-mem.h (KGC_OBJECT_SIZE):
Removed.
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.8 kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.9
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c:1.8 Wed Sep 1 10:20:15 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.c Wed Sep 1 10:31:05 2004
@@ -139,6 +139,8 @@
*/
#define KGC_OBJECT_SIZE(M) GCMEM2BLOCK(M)->size
+#define ASSERT_ONBLOCK(OBJ, BLK) assert(GCMEM2BLOCK(OBJ) == BLK)
+
#if !(defined(NDEBUG) || !defined(KAFFE_VMDEBUG))
/* Magic constant used to mark blocks under gc's management */
static const uint32 gc_magic = 0xD0DECADE;
Index: kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.h
diff -u kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.h:1.6 kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.h:1.7
--- kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.h:1.6 Wed Sep 1 10:20:15 2004
+++ kaffe/kaffe/kaffevm/kaffe-gc/gc-mem.h Wed Sep 1 10:31:05 2004
@@ -146,6 +146,4 @@
*/
#define GCMEM2BLOCK(M) (KGC_BLOCKS + ( ( ((uintp) (M)) - gc_heap_base) >> gc_pgbits))
-#define ASSERT_ONBLOCK(OBJ, BLK) assert(GCMEM2BLOCK(OBJ) == BLK)
-
#endif
More information about the kaffe
mailing list