< prev index next >

src/hotspot/cpu/aarch64/methodHandles_aarch64.cpp

Print this page
@@ -305,12 +305,11 @@
        if (iid == vmIntrinsics::_linkToSpecial) {
          // Don't actually load the klass; just null-check the receiver.
          __ null_check(receiver_reg);
        } else {
          // load receiver klass itself
-         __ null_check(receiver_reg, oopDesc::klass_offset_in_bytes());
-         __ load_klass(temp1_recv_klass, receiver_reg);
+         __ load_klass(temp1_recv_klass, receiver_reg, true);
          __ verify_klass_ptr(temp1_recv_klass);
        }
        BLOCK_COMMENT("check_receiver {");
        // The receiver for the MemberName must be in receiver_reg.
        // Check the receiver against the MemberName.clazz
< prev index next >