src/share/vm/opto/block.cpp

changeset 4115
e626685e9f6c
parent 3311
1bd45abaa507
child 4153
b9a9ed0f8eeb
     1.1 --- a/src/share/vm/opto/block.cpp	Tue Sep 25 15:48:17 2012 -0700
     1.2 +++ b/src/share/vm/opto/block.cpp	Thu Sep 27 09:38:42 2012 -0700
     1.3 @@ -378,7 +378,7 @@
     1.4    // I'll need a few machine-specific GotoNodes.  Make an Ideal GotoNode,
     1.5    // then Match it into a machine-specific Node.  Then clone the machine
     1.6    // Node on demand.
     1.7 -  Node *x = new (C, 1) GotoNode(NULL);
     1.8 +  Node *x = new (C) GotoNode(NULL);
     1.9    x->init_req(0, x);
    1.10    _goto = m.match_tree(x);
    1.11    assert(_goto != NULL, "");
    1.12 @@ -432,7 +432,7 @@
    1.13                 !p->is_block_start() );
    1.14        // Make the block begin with one of Region or StartNode.
    1.15        if( !p->is_block_start() ) {
    1.16 -        RegionNode *r = new (C, 2) RegionNode( 2 );
    1.17 +        RegionNode *r = new (C) RegionNode( 2 );
    1.18          r->init_req(1, p);         // Insert RegionNode in the way
    1.19          proj->set_req(0, r);        // Insert RegionNode in the way
    1.20          p = r;
    1.21 @@ -508,7 +508,7 @@
    1.22    // get ProjNode corresponding to the succ_no'th successor of the in block
    1.23    ProjNode* proj = in->_nodes[in->_nodes.size() - in->_num_succs + succ_no]->as_Proj();
    1.24    // create region for basic block
    1.25 -  RegionNode* region = new (C, 2) RegionNode(2);
    1.26 +  RegionNode* region = new (C) RegionNode(2);
    1.27    region->init_req(1, proj);
    1.28    // setup corresponding basic block
    1.29    Block* block = new (_bbs._arena) Block(_bbs._arena, region);

mercurial