1.1 --- a/src/share/vm/opto/reg_split.cpp Fri Feb 27 08:34:19 2009 -0800 1.2 +++ b/src/share/vm/opto/reg_split.cpp Fri Feb 27 13:27:09 2009 -0800 1.3 @@ -26,8 +26,8 @@ 1.4 #include "incls/_reg_split.cpp.incl" 1.5 1.6 //------------------------------Split-------------------------------------- 1.7 -// Walk the graph in RPO and for each lrg which spills, propogate reaching 1.8 -// definitions. During propogation, split the live range around regions of 1.9 +// Walk the graph in RPO and for each lrg which spills, propagate reaching 1.10 +// definitions. During propagation, split the live range around regions of 1.11 // High Register Pressure (HRP). If a Def is in a region of Low Register 1.12 // Pressure (LRP), it will not get spilled until we encounter a region of 1.13 // HRP between it and one of its uses. We will spill at the transition 1.14 @@ -88,7 +88,7 @@ 1.15 } 1.16 1.17 //------------------------------insert_proj------------------------------------ 1.18 -// Insert the spill at chosen location. Skip over any interveneing Proj's or 1.19 +// Insert the spill at chosen location. Skip over any intervening Proj's or 1.20 // Phis. Skip over a CatchNode and projs, inserting in the fall-through block 1.21 // instead. Update high-pressure indices. Create a new live range. 1.22 void PhaseChaitin::insert_proj( Block *b, uint i, Node *spill, uint maxlrg ) { 1.23 @@ -125,7 +125,7 @@ 1.24 } 1.25 1.26 //------------------------------split_DEF-------------------------------------- 1.27 -// There are four catagories of Split; UP/DOWN x DEF/USE 1.28 +// There are four categories of Split; UP/DOWN x DEF/USE 1.29 // Only three of these really occur as DOWN/USE will always color 1.30 // Any Split with a DEF cannot CISC-Spill now. Thus we need 1.31 // two helper routines, one for Split DEFS (insert after instruction), 1.32 @@ -726,7 +726,7 @@ 1.33 // ********** Handle Crossing HRP Boundry ********** 1.34 if( (insidx == b->_ihrp_index) || (insidx == b->_fhrp_index) ) { 1.35 for( slidx = 0; slidx < spill_cnt; slidx++ ) { 1.36 - // Check for need to split at HRP boundry - split if UP 1.37 + // Check for need to split at HRP boundary - split if UP 1.38 n1 = Reachblock[slidx]; 1.39 // bail out if no reaching DEF 1.40 if( n1 == NULL ) continue;