8210963: Build failures after "8210829: Modularize allocations in C2"
authorshade
Thu, 20 Sep 2018 21:14:38 +0200
changeset 51826 e777e997e7c1
parent 51825 e3632b4706c4
child 51827 07179f7db03d
child 56900 d5d542d50e3c
8210963: Build failures after "8210829: Modularize allocations in C2" Reviewed-by: rkennke, thartmann
src/hotspot/share/gc/shared/c2/barrierSetC2.cpp
src/hotspot/share/opto/macro.cpp
--- 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);