natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as MAYBE_UNUSED for HAVE_TLS == 0.
2006-05-21 Andreas Tobler <a.tobler@schweiz.ch> * java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as MAYBE_UNUSED for HAVE_TLS == 0. (_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for HAVE_TLS == 0. From-SVN: r113939
This commit is contained in:
parent
2a332582ce
commit
3bed5c6bae
|
@ -905,9 +905,9 @@ static __thread _Jv_mcache *method_cache;
|
||||||
#endif // HAVE_TLS
|
#endif // HAVE_TLS
|
||||||
|
|
||||||
static void *
|
static void *
|
||||||
_Jv_FindMethodInCache (jclass klass,
|
_Jv_FindMethodInCache (jclass klass MAYBE_UNUSED,
|
||||||
_Jv_Utf8Const *name,
|
_Jv_Utf8Const *name MAYBE_UNUSED,
|
||||||
_Jv_Utf8Const *signature)
|
_Jv_Utf8Const *signature MAYBE_UNUSED)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_TLS
|
#ifdef HAVE_TLS
|
||||||
_Jv_mcache *cache = method_cache;
|
_Jv_mcache *cache = method_cache;
|
||||||
|
@ -927,7 +927,8 @@ _Jv_FindMethodInCache (jclass klass,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_Jv_AddMethodToCache (jclass klass, _Jv_Method *method)
|
_Jv_AddMethodToCache (jclass klass MAYBE_UNUSED,
|
||||||
|
_Jv_Method *method MAYBE_UNUSED)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_TLS
|
#ifdef HAVE_TLS
|
||||||
if (method_cache == NULL)
|
if (method_cache == NULL)
|
||||||
|
|
Loading…
Reference in New Issue