src/share/vm/opto/divnode.cpp

changeset 1191
cecd04fc6f93
parent 1040
98cb887364d3
child 1589
174ade00803b
     1.1 --- a/src/share/vm/opto/divnode.cpp	Tue May 05 11:02:10 2009 -0700
     1.2 +++ b/src/share/vm/opto/divnode.cpp	Wed May 06 12:04:42 2009 -0700
     1.3 @@ -298,8 +298,10 @@
     1.4  
     1.5    // 6732154: Construct both w1 and w2 before transforming, so t
     1.6    // doesn't go dead prematurely.
     1.7 +  // 6837011: We need to transform w2 before w1 because the
     1.8 +  // transformation of w1 could return t.
     1.9 +  w2 = phase->transform(w2);
    1.10    w1 = phase->transform(w1);
    1.11 -  w2 = phase->transform(w2);
    1.12  
    1.13    // w1 = u0*v1 + w1;
    1.14    Node* u0v1 = phase->transform(new (phase->C, 3) MulLNode(u0, v1));

mercurial