# HG changeset patch # User mdoerr # Date 1517482718 -3600 # Node ID 7a5835a47adfc857e707a5f703e44886781efe29 # Parent 55272cc705142879da75e3fdfd824ac89dee7b59 8196503: PPC64: vtableStubs gtest fails after 8174962 Reviewed-by: goetz diff -r 55272cc70514 -r 7a5835a47adf src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp --- a/src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp Wed Jan 31 22:55:12 2018 -0800 +++ b/src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp Thu Feb 01 11:58:38 2018 +0100 @@ -1,6 +1,6 @@ /* - * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2012, 2017 SAP SE. All rights reserved. + * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2018 SAP SE. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -104,7 +104,7 @@ int v_off = entry_offset + vtableEntry::method_offset_in_bytes(); - __ ld(R19_method, v_off, rcvr_klass); + __ ld(R19_method, (RegisterOrConstant)v_off, rcvr_klass); #ifndef PRODUCT if (DebugVtables) {