src/share/vm/opto/divnode.cpp

changeset 1040
98cb887364d3
parent 1003
30663ca5e8f4
child 1191
cecd04fc6f93
     1.1 --- a/src/share/vm/opto/divnode.cpp	Fri Feb 27 08:34:19 2009 -0800
     1.2 +++ b/src/share/vm/opto/divnode.cpp	Fri Feb 27 13:27:09 2009 -0800
     1.3 @@ -35,7 +35,7 @@
     1.4  // by constant into a multiply/shift/add series. Return false if calculations
     1.5  // fail.
     1.6  //
     1.7 -// Borrowed almost verbatum from Hacker's Delight by Henry S. Warren, Jr. with
     1.8 +// Borrowed almost verbatim from Hacker's Delight by Henry S. Warren, Jr. with
     1.9  // minor type name and parameter changes.
    1.10  static bool magic_int_divide_constants(jint d, jint &M, jint &s) {
    1.11    int32_t p;
    1.12 @@ -202,7 +202,7 @@
    1.13  // by constant into a multiply/shift/add series. Return false if calculations
    1.14  // fail.
    1.15  //
    1.16 -// Borrowed almost verbatum from Hacker's Delight by Henry S. Warren, Jr. with
    1.17 +// Borrowed almost verbatim from Hacker's Delight by Henry S. Warren, Jr. with
    1.18  // minor type name and parameter changes.  Adjusted to 64 bit word width.
    1.19  static bool magic_long_divide_constants(jlong d, jlong &M, jint &s) {
    1.20    int64_t p;
    1.21 @@ -1069,7 +1069,7 @@
    1.22  
    1.23    int log2_con = -1;
    1.24  
    1.25 -  // If this is a power of two, they maybe we can mask it
    1.26 +  // If this is a power of two, then maybe we can mask it
    1.27    if( is_power_of_2_long(pos_con) ) {
    1.28      log2_con = log2_long(pos_con);
    1.29  

mercurial