Mercurial > hg > truffle
diff src/share/vm/opto/graphKit.cpp @ 605:98cb887364d3
6810672: Comment typos
Summary: I have collected some typos I have found while looking at the code.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Fri, 27 Feb 2009 13:27:09 -0800 |
parents | dca06e7f503d |
children | 7bb995fbd3c0 c517646eef23 |
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.cpp Fri Feb 27 08:34:19 2009 -0800 +++ b/src/share/vm/opto/graphKit.cpp Fri Feb 27 13:27:09 2009 -0800 @@ -1148,7 +1148,7 @@ Node *tst = _gvn.transform( btst ); //----------- - // if peephole optimizations occured, a prior test existed. + // if peephole optimizations occurred, a prior test existed. // If a prior test existed, maybe it dominates as we can avoid this test. if (tst != btst && type == T_OBJECT) { // At this point we want to scan up the CFG to see if we can @@ -1196,7 +1196,7 @@ // Consider using 'Reason_class_check' instead? // To cause an implicit null check, we set the not-null probability - // to the maximum (PROB_MAX). For an explicit check the probablity + // to the maximum (PROB_MAX). For an explicit check the probability // is set to a smaller value. if (null_control != NULL || too_many_traps(reason)) { // probability is less likely