changeset 52612:e777e997e7c1

8210963: Build failures after "8210829: Modularize allocations in C2" Reviewed-by: rkennke, thartmann
author shade
date Thu, 20 Sep 2018 21:14:38 +0200
parents e3632b4706c4
children 8d50dbdbffed bc14248af4cb 88a2df282d09 de473a7876ad de64ad41db08 f39eba11f087 b52e3843b899 6fdd8d25cd33 07179f7db03d
files src/hotspot/share/gc/shared/c2/barrierSetC2.cpp src/hotspot/share/opto/macro.cpp
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp	Thu Sep 20 21:05:00 2018 +0200
+++ b/src/hotspot/share/gc/shared/c2/barrierSetC2.cpp	Thu Sep 20 21:14:38 2018 +0200
@@ -25,6 +25,7 @@
 #include "precompiled.hpp"
 #include "gc/shared/c2/barrierSetC2.hpp"
 #include "opto/arraycopynode.hpp"
+#include "opto/convertnode.hpp"
 #include "opto/graphKit.hpp"
 #include "opto/idealKit.hpp"
 #include "opto/macro.hpp"
--- a/src/hotspot/share/opto/macro.cpp	Thu Sep 20 21:05:00 2018 +0200
+++ b/src/hotspot/share/opto/macro.cpp	Thu Sep 20 21:14:38 2018 +0200
@@ -1727,7 +1727,7 @@
       uint step_size = AllocatePrefetchStepSize;
       uint distance = 0;
 
-      for ( uint i = 0; i < lines; i++ ) {
+      for ( intx i = 0; i < lines; i++ ) {
         prefetch_adr = new AddPNode( old_pf_wm, new_pf_wmt,
                                             _igvn.MakeConX(distance) );
         transform_later(prefetch_adr);
@@ -1780,7 +1780,7 @@
       contended_phi_rawmem = prefetch;
       Node *prefetch_adr;
       distance = step_size;
-      for ( uint i = 1; i < lines; i++ ) {
+      for ( intx i = 1; i < lines; i++ ) {
         prefetch_adr = new AddPNode( cache_adr, cache_adr,
                                             _igvn.MakeConX(distance) );
         transform_later(prefetch_adr);
@@ -1796,7 +1796,7 @@
       // Generate several prefetch instructions.
       uint step_size = AllocatePrefetchStepSize;
       uint distance = AllocatePrefetchDistance;
-      for ( uint i = 0; i < lines; i++ ) {
+      for ( intx i = 0; i < lines; i++ ) {
         prefetch_adr = new AddPNode( old_eden_top, new_eden_top,
                                             _igvn.MakeConX(distance) );
         transform_later(prefetch_adr);