[kaffe] CVS kaffe (dalibor): Only define findFakeCall when it's needed
Kaffe CVS
cvs-commits at kaffe.org
Sun Aug 29 07:57:36 PDT 2004
PatchSet 5118
Date: 2004/08/29 14:26:40
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Only define findFakeCall when it's needed
2004-08-29 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/jit3/machine.c (findFakeCall):
Only define if HAVE_branch_and_link is defined.
Members:
ChangeLog:1.2674->1.2675
kaffe/kaffevm/jit3/machine.c:1.58->1.59
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.2674 kaffe/ChangeLog:1.2675
--- kaffe/ChangeLog:1.2674 Sun Aug 29 13:50:22 2004
+++ kaffe/ChangeLog Sun Aug 29 14:26:40 2004
@@ -1,6 +1,11 @@
2004-08-29 Dalibor Topic <robilad at kaffe.org>
* kaffe/kaffevm/jit3/machine.c (findFakeCall):
+ Only define if HAVE_branch_and_link is defined.
+
+2004-08-29 Dalibor Topic <robilad at kaffe.org>
+
+ * kaffe/kaffevm/jit3/machine.c (findFakeCall):
Made static.
2004-08-29 Dalibor Topic <robilad at kaffe.org>
Index: kaffe/kaffe/kaffevm/jit3/machine.c
diff -u kaffe/kaffe/kaffevm/jit3/machine.c:1.58 kaffe/kaffe/kaffevm/jit3/machine.c:1.59
--- kaffe/kaffe/kaffevm/jit3/machine.c:1.58 Sun Aug 29 13:50:24 2004
+++ kaffe/kaffe/kaffevm/jit3/machine.c Sun Aug 29 14:26:43 2004
@@ -1376,6 +1376,7 @@
lastFake = &firstFake;
}
+#if defined(HAVE_branch_and_link)
static
fakeCall *
findFakeCall(void *func)
@@ -1389,6 +1390,7 @@
}
return( retval );
}
+#endif /* defined(HAVE_branch_and_link) */
/*
* Build a fake call to a function.
More information about the kaffe
mailing list