src/share/vm/opto/chaitin.cpp

changeset 5285
693e4d04fd09
parent 4949
8373c19be854
child 5509
d1034bd8cefc
equal deleted inserted replaced
5283:46c544b8fbfc 5285:693e4d04fd09
1 /* 1 /*
2 * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2013, 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.
433 PhaseAggressiveCoalesce coalesce(*this); 433 PhaseAggressiveCoalesce coalesce(*this);
434 coalesce.coalesce_driver(); 434 coalesce.coalesce_driver();
435 // Insert un-coalesced copies. Visit all Phis. Where inputs to a Phi do 435 // Insert un-coalesced copies. Visit all Phis. Where inputs to a Phi do
436 // not match the Phi itself, insert a copy. 436 // not match the Phi itself, insert a copy.
437 coalesce.insert_copies(_matcher); 437 coalesce.insert_copies(_matcher);
438 if (C->failing()) {
439 return;
440 }
438 } 441 }
439 442
440 // After aggressive coalesce, attempt a first cut at coloring. 443 // After aggressive coalesce, attempt a first cut at coloring.
441 // To color, we need the IFG and for that we need LIVE. 444 // To color, we need the IFG and for that we need LIVE.
442 { 445 {

mercurial