changeset 48533:7a5835a47adf

8196503: PPC64: vtableStubs gtest fails after 8174962 Reviewed-by: goetz
author mdoerr
date Thu, 01 Feb 2018 11:58:38 +0100
parents 55272cc70514
children db420a109457
files src/hotspot/cpu/ppc/vtableStubs_ppc_64.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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) {