comparison src/share/vm/opto/chaitin.cpp @ 22851:ddce0b7cee93

8072383: resolve conflicts between open and closed ports Summary: refactor close to remove references to closed ports Reviewed-by: kvn, simonis, sgehwolf, dholmes
author dlong
date Tue, 24 Feb 2015 15:04:52 -0500
parents 9df0d8f65fea
children dd9cc155639c
comparison
equal deleted inserted replaced
22850:34f0c0e9df21 22851:ddce0b7cee93
1 /* 1 /*
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2000, 2015, 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.
838 break; 838 break;
839 case Op_RegL: // Check for long or double 839 case Op_RegL: // Check for long or double
840 case Op_RegD: 840 case Op_RegD:
841 lrg.set_num_regs(2); 841 lrg.set_num_regs(2);
842 // Define platform specific register pressure 842 // Define platform specific register pressure
843 #if defined(SPARC) || defined(ARM) 843 #if defined(SPARC) || defined(ARM32)
844 lrg.set_reg_pressure(2); 844 lrg.set_reg_pressure(2);
845 #elif defined(IA32) 845 #elif defined(IA32)
846 if( ireg == Op_RegL ) { 846 if( ireg == Op_RegL ) {
847 lrg.set_reg_pressure(2); 847 lrg.set_reg_pressure(2);
848 } else { 848 } else {