hotspot/src/cpu/sparc/vm/vtableStubs_sparc.cpp
changeset 35899 0dbc821628fc
parent 35871 607bf949dfb3
child 40032 bc2e42cd23ea
--- a/hotspot/src/cpu/sparc/vm/vtableStubs_sparc.cpp	Sat Jan 30 11:02:29 2016 -0500
+++ b/hotspot/src/cpu/sparc/vm/vtableStubs_sparc.cpp	Tue Dec 01 10:35:49 2015 +0100
@@ -78,7 +78,7 @@
   if (DebugVtables) {
     Label L;
     // check offset vs vtable length
-    __ ld(G3_scratch, in_bytes(InstanceKlass::vtable_length_offset()), G5);
+    __ ld(G3_scratch, in_bytes(Klass::vtable_length_offset()), G5);
     __ cmp_and_br_short(G5, vtable_index*vtableEntry::size(), Assembler::greaterUnsigned, Assembler::pt, L);
     __ set(vtable_index, O2);
     __ call_VM(noreg, CAST_FROM_FN_PTR(address, bad_compiled_vtable_index), O0, O2);