8196503: PPC64: vtableStubs gtest fails after 8174962
authormdoerr
Thu, 01 Feb 2018 11:58:38 +0100
changeset 48717 7a5835a47adf
parent 48716 55272cc70514
child 48718 d68d95009bdb
child 48771 db420a109457
8196503: PPC64: vtableStubs gtest fails after 8174962 Reviewed-by: goetz
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) {