mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-14 17:40:12 +08:00
interpret-run.cc (invokevirtual_resolved): Nullcheck object on TOS.
* interpret-run.cc (invokevirtual_resolved): Nullcheck object on TOS. From-SVN: r128298
This commit is contained in:
parent
61ce048a27
commit
f144591b54
@ -1,3 +1,8 @@
|
||||
2007-09-09 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* interpret-run.cc (invokevirtual_resolved): Nullcheck object on
|
||||
TOS.
|
||||
|
||||
2007-09-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* testsuite/libjava.lang/StackTrace2.jar: Rebuilt.
|
||||
|
@ -563,6 +563,7 @@ details. */
|
||||
}
|
||||
else
|
||||
{
|
||||
NULLCHECK (sp[0].o);
|
||||
jobject rcv = sp[0].o;
|
||||
_Jv_VTable *table = *(_Jv_VTable**) rcv;
|
||||
fun = (void (*)()) table->get_method (rmeth->method->index);
|
||||
|
Loading…
Reference in New Issue
Block a user