From f8db247cde58a5d38310503b933ce6db9dff331b Mon Sep 17 00:00:00 2001 From: Martin Doerr Date: Thu, 1 Feb 2018 11:58:38 +0100 Subject: [PATCH] 8196503: PPC64: vtableStubs gtest fails after 8174962 Reviewed-by: goetz --- src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp b/src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp index 480e3e55fa2..2479e2bae53 100644 --- a/src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp +++ b/src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp @@ -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 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) { 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) {