[kaffe] CVS kaffe (dalibor): Fixed small compiler warning about
unused method in jit3
Kaffe CVS
cvs-commits at kaffe.org
Thu Aug 26 07:49:03 PDT 2004
PatchSet 5109
Date: 2004/08/26 14:41:40
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Fixed small compiler warning about unused method in jit3
2004-08-26 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/jit3/constpool.c (printConstant):
Only define if debugging is enabled.
Members:
ChangeLog:1.2665->1.2666
kaffe/kaffevm/jit3/constpool.c:1.10->1.11
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2665 kaffe/ChangeLog:1.2666
--- kaffe/ChangeLog:1.2665 Thu Aug 26 10:10:44 2004
+++ kaffe/ChangeLog Thu Aug 26 14:41:40 2004
@@ -1,3 +1,8 @@
+2004-08-26 Dalibor Topic <robilad at kaffe.org>
+
+ * kaffe/kaffevm/jit3/constpool.c (printConstant):
+ Only define if debugging is enabled.
+
2004-08-26 Guilhem Lavaux <guilhem at kaffe.org>
* config/sparc/sysdepCallMethod.h:
Index: kaffe/kaffe/kaffevm/jit3/constpool.c
diff -u kaffe/kaffe/kaffevm/jit3/constpool.c:1.10 kaffe/kaffe/kaffevm/jit3/constpool.c:1.11
--- kaffe/kaffe/kaffevm/jit3/constpool.c:1.10 Sat Jul 17 07:57:28 2004
+++ kaffe/kaffe/kaffevm/jit3/constpool.c Thu Aug 26 14:41:43 2004
@@ -122,6 +122,7 @@
"label",
};
+#if defined(NDEBUG) || !defined(KAFFE_VMDEBUG)
static void
printConstant(FILE *file, constpool *cp)
{
@@ -155,6 +156,7 @@
break;
}
}
+#endif /* defined(NDEBUG) || !defined(KAFFE_VMDEBUG) */
void
establishConstants(void *at)
More information about the kaffe
mailing list