hotspot/src/share/vm/opto/loopopts.cpp
changeset 25930 eae8b7490d2c
parent 25913 81dbc151e91c
child 27707 f7d26e5b8b5d
equal deleted inserted replaced
25929:4fd732076fe1 25930:eae8b7490d2c
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   623         }
   623         }
   624 #endif
   624 #endif
   625         set_ctrl(inp, cmov_ctrl);
   625         set_ctrl(inp, cmov_ctrl);
   626       }
   626       }
   627     }
   627     }
   628     Node *cmov = CMoveNode::make( C, cmov_ctrl, iff->in(1), phi->in(1+flip), phi->in(2-flip), _igvn.type(phi) );
   628     Node *cmov = CMoveNode::make(cmov_ctrl, iff->in(1), phi->in(1+flip), phi->in(2-flip), _igvn.type(phi));
   629     register_new_node( cmov, cmov_ctrl );
   629     register_new_node( cmov, cmov_ctrl );
   630     _igvn.replace_node( phi, cmov );
   630     _igvn.replace_node( phi, cmov );
   631 #ifndef PRODUCT
   631 #ifndef PRODUCT
   632     if (TraceLoopOpts) {
   632     if (TraceLoopOpts) {
   633       tty->print("CMOV  ");
   633       tty->print("CMOV  ");