1.1 --- a/src/share/vm/opto/ifnode.cpp Fri Feb 27 08:34:19 2009 -0800 1.2 +++ b/src/share/vm/opto/ifnode.cpp Fri Feb 27 13:27:09 2009 -0800 1.3 @@ -81,7 +81,7 @@ 1.4 uint i4; 1.5 for( i4 = 1; i4 < phi->req(); i4++ ) { 1.6 con1 = phi->in(i4); 1.7 - if( !con1 ) return NULL; // Do not optimize partially collaped merges 1.8 + if( !con1 ) return NULL; // Do not optimize partially collapsed merges 1.9 if( con1->is_Con() ) break; // Found a constant 1.10 // Also allow null-vs-not-null checks 1.11 const TypePtr *tp = igvn->type(con1)->isa_ptr(); 1.12 @@ -204,7 +204,7 @@ 1.13 // T F T F T F 1.14 // ..s.. ..t .. ..s.. ..t.. ..s.. ..t.. 1.15 // 1.16 - // Split the paths coming into the merge point into 2 seperate groups of 1.17 + // Split the paths coming into the merge point into 2 separate groups of 1.18 // merges. On the left will be all the paths feeding constants into the 1.19 // Cmp's Phi. On the right will be the remaining paths. The Cmp's Phi 1.20 // will fold up into a constant; this will let the Cmp fold up as well as 1.21 @@ -236,7 +236,7 @@ 1.22 } 1.23 1.24 // Register the new RegionNodes but do not transform them. Cannot 1.25 - // transform until the entire Region/Phi conglerate has been hacked 1.26 + // transform until the entire Region/Phi conglomerate has been hacked 1.27 // as a single huge transform. 1.28 igvn->register_new_node_with_optimizer( region_c ); 1.29 igvn->register_new_node_with_optimizer( region_x ); 1.30 @@ -599,7 +599,7 @@ 1.31 1.32 //------------------------------fold_compares---------------------------- 1.33 // See if a pair of CmpIs can be converted into a CmpU. In some cases 1.34 -// the direction of this if is determined by the preciding if so it 1.35 +// the direction of this if is determined by the preceding if so it 1.36 // can be eliminate entirely. Given an if testing (CmpI n c) check 1.37 // for an immediately control dependent if that is testing (CmpI n c2) 1.38 // and has one projection leading to this if and the other projection 1.39 @@ -811,7 +811,7 @@ 1.40 // Try to remove extra range checks. All 'up_one_dom' gives up at merges 1.41 // so all checks we inspect post-dominate the top-most check we find. 1.42 // If we are going to fail the current check and we reach the top check 1.43 - // then we are guarenteed to fail, so just start interpreting there. 1.44 + // then we are guaranteed to fail, so just start interpreting there. 1.45 // We 'expand' the top 2 range checks to include all post-dominating 1.46 // checks. 1.47