src/share/vm/opto/node.cpp

changeset 4370
32164d89fe9c
parent 4315
2aff40cb4703
child 4478
a7114d3d712e
     1.1 --- a/src/share/vm/opto/node.cpp	Mon Dec 17 08:49:20 2012 +0100
     1.2 +++ b/src/share/vm/opto/node.cpp	Mon Dec 17 15:25:26 2012 +0100
     1.3 @@ -1839,15 +1839,16 @@
     1.4    return idx;                   // True for other than index 0 (control)
     1.5  }
     1.6  
     1.7 +static RegMask _not_used_at_all;
     1.8  // Register classes are defined for specific machines
     1.9  const RegMask &Node::out_RegMask() const {
    1.10    ShouldNotCallThis();
    1.11 -  return *(new RegMask());
    1.12 +  return _not_used_at_all;
    1.13  }
    1.14  
    1.15  const RegMask &Node::in_RegMask(uint) const {
    1.16    ShouldNotCallThis();
    1.17 -  return *(new RegMask());
    1.18 +  return _not_used_at_all;
    1.19  }
    1.20  
    1.21  //=============================================================================

mercurial