comparison src/share/vm/adlc/output_c.cpp @ 6804:e626685e9f6c

7193318: C2: remove number of inputs requirement from Node's new operator Summary: Deleted placement new operator of Node - node(size_t, Compile *, int). Reviewed-by: kvn, twisti Contributed-by: bharadwaj.yadavalli@oracle.com
author kvn
date Thu, 27 Sep 2012 09:38:42 -0700
parents 0702f188baeb
children 8e47bac5643a
comparison
equal deleted inserted replaced
6803:06f52c4d0e18 6804:e626685e9f6c
1771 syntax_err(node->_linenum, "In %s only bound registers can be killed: %s %s\n", 1771 syntax_err(node->_linenum, "In %s only bound registers can be killed: %s %s\n",
1772 node->_ident, comp->_type, comp->_name); 1772 node->_ident, comp->_type, comp->_name);
1773 } 1773 }
1774 1774
1775 fprintf(fp," kill = "); 1775 fprintf(fp," kill = ");
1776 fprintf(fp,"new (C, 1) MachProjNode( %s, %d, (%s), Op_%s );\n", 1776 fprintf(fp,"new (C) MachProjNode( %s, %d, (%s), Op_%s );\n",
1777 machNode, proj_no++, regmask, ideal_type); 1777 machNode, proj_no++, regmask, ideal_type);
1778 fprintf(fp," proj_list.push(kill);\n"); 1778 fprintf(fp," proj_list.push(kill);\n");
1779 } 1779 }
1780 } 1780 }
1781 } 1781 }