src/share/vm/opto/phaseX.cpp

changeset 4115
e626685e9f6c
parent 3947
611e8a669a2c
child 4153
b9a9ed0f8eeb
     1.1 --- a/src/share/vm/opto/phaseX.cpp	Tue Sep 25 15:48:17 2012 -0700
     1.2 +++ b/src/share/vm/opto/phaseX.cpp	Thu Sep 27 09:38:42 2012 -0700
     1.3 @@ -48,7 +48,7 @@
     1.4    _total_insert_probes(0), _total_inserts(0),
     1.5    _insert_probes(0), _grows(0) {
     1.6    // _sentinel must be in the current node space
     1.7 -  _sentinel = new (Compile::current(), 1) ProjNode(NULL, TypeFunc::Control);
     1.8 +  _sentinel = new (Compile::current()) ProjNode(NULL, TypeFunc::Control);
     1.9    memset(_table,0,sizeof(Node*)*_max);
    1.10  }
    1.11  
    1.12 @@ -63,7 +63,7 @@
    1.13    _total_insert_probes(0), _total_inserts(0),
    1.14    _insert_probes(0), _grows(0) {
    1.15    // _sentinel must be in the current node space
    1.16 -  _sentinel = new (Compile::current(), 1) ProjNode(NULL, TypeFunc::Control);
    1.17 +  _sentinel = new (Compile::current()) ProjNode(NULL, TypeFunc::Control);
    1.18    memset(_table,0,sizeof(Node*)*_max);
    1.19  }
    1.20  
    1.21 @@ -1246,7 +1246,7 @@
    1.22    }
    1.23  
    1.24    // Smash all inputs to 'old', isolating him completely
    1.25 -  Node *temp = new (C, 1) Node(1);
    1.26 +  Node *temp = new (C) Node(1);
    1.27    temp->init_req(0,nn);     // Add a use to nn to prevent him from dying
    1.28    remove_dead_node( old );
    1.29    temp->del_req(0);         // Yank bogus edge

mercurial