hotspot/src/share/vm/opto/loopopts.cpp
changeset 4895 6102d1a32ce8
parent 3283 c8b1b0aecdfe
child 5547 f4b087cbb361
equal deleted inserted replaced
4894:8a76fd3d098d 4895:6102d1a32ce8
     1 /*
     1 /*
     2  * Copyright 1999-2009 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1999-2010 Sun Microsystems, Inc.  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.
    45     int iid    = t_oop->instance_id();
    45     int iid    = t_oop->instance_id();
    46     int index  = C->get_alias_index(t_oop);
    46     int index  = C->get_alias_index(t_oop);
    47     int offset = t_oop->offset();
    47     int offset = t_oop->offset();
    48     phi = new (C,region->req()) PhiNode(region, type, NULL, iid, index, offset);
    48     phi = new (C,region->req()) PhiNode(region, type, NULL, iid, index, offset);
    49   } else {
    49   } else {
    50     phi = new (C,region->req()) PhiNode(region, type);
    50     phi = PhiNode::make_blank(region, n);
    51   }
    51   }
    52   uint old_unique = C->unique();
    52   uint old_unique = C->unique();
    53   for( uint i = 1; i < region->req(); i++ ) {
    53   for( uint i = 1; i < region->req(); i++ ) {
    54     Node *x;
    54     Node *x;
    55     Node* the_clone = NULL;
    55     Node* the_clone = NULL;