summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang
diff options
context:
space:
mode:
authorgreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-24 18:27:29 +0000
committergreen <green@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-24 18:27:29 +0000
commit98a63f99ef4d9ddfca7beab4276c0846089698fb (patch)
treeeac460e10154fbf3e9859c193618430a04df685e /libjava/java/lang
parent333739903c924e90a8c1a3382d0517ef2a6085c7 (diff)
downloadppe42-gcc-98a63f99ef4d9ddfca7beab4276c0846089698fb.tar.gz
ppe42-gcc-98a63f99ef4d9ddfca7beab4276c0846089698fb.zip
Obvious fix for systems with no interpreter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72903 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/lang')
-rw-r--r--libjava/java/lang/natClass.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/lang/natClass.cc b/libjava/java/lang/natClass.cc
index 2d80ce2133b..2e1f9da74cb 100644
--- a/libjava/java/lang/natClass.cc
+++ b/libjava/java/lang/natClass.cc
@@ -1698,9 +1698,11 @@ _Jv_LinkSymbolTable(jclass klass)
{
if (meth->ncode) // Maybe abstract?
klass->atable->addresses[index] = meth->ncode;
+#ifdef INTERPRETER
else if (_Jv_IsInterpretedClass (target_class))
_Jv_Defer_Resolution (target_class, meth,
&klass->atable->addresses[index]);
+#endif
}
else
klass->atable->addresses[index] = (void *)_Jv_ThrowNoSuchMethodError;
OpenPOWER on IntegriCloud