src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp
changeset 48717 7a5835a47adf
parent 48585 d9fcb7ba8133
child 51618 54b344d9dd4e
equal deleted inserted replaced
48716:55272cc70514 48717:7a5835a47adf
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2012, 2017 SAP SE. All rights reserved.
     3  * Copyright (c) 2012, 2018 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
     8  * published by the Free Software Foundation.
     8  * published by the Free Software Foundation.
   102   }
   102   }
   103 #endif
   103 #endif
   104 
   104 
   105   int v_off = entry_offset + vtableEntry::method_offset_in_bytes();
   105   int v_off = entry_offset + vtableEntry::method_offset_in_bytes();
   106 
   106 
   107   __ ld(R19_method, v_off, rcvr_klass);
   107   __ ld(R19_method, (RegisterOrConstant)v_off, rcvr_klass);
   108 
   108 
   109 #ifndef PRODUCT
   109 #ifndef PRODUCT
   110   if (DebugVtables) {
   110   if (DebugVtables) {
   111     Label L;
   111     Label L;
   112     __ cmpdi(CCR0, R19_method, 0);
   112     __ cmpdi(CCR0, R19_method, 0);