Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/rtv/Stage
Browse files Browse the repository at this point in the history
  • Loading branch information
rtv committed Aug 13, 2011
2 parents f8cd77b + d1ecc03 commit 17a3632
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions libstage/region.cc
Expand Up @@ -8,29 +8,29 @@
#include "region.hh"
using namespace Stg;

std::vector<Stg::Cell*> Region::dead_pool;
std::vector<Stg::Cell*> Stg::Region::dead_pool;

Region::Region() :
Stg::Region::Region() :
cells(NULL),
count(0),
superregion(NULL)
{
}

Region::~Region()
Stg::Region::~Region()
{
if( cells )
delete[] cells;
}

void Region::AddBlock()
void Stg::Region::AddBlock()
{
++count;
assert(count>0);
superregion->AddBlock();
}

void Region::RemoveBlock()
void Stg::Region::RemoveBlock()
{
--count;
assert(count>=0);
Expand Down

0 comments on commit 17a3632

Please sign in to comment.