[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.

This commit is contained in:
Tomas Lindquist Olsen
2008-06-28 11:50:28 +02:00
parent 0d160ffc76
commit ad65788592

View File

@@ -2866,6 +2866,7 @@ SynchronizedStatement::SynchronizedStatement(Loc loc, Expression *exp, Statement
this->exp = exp;
this->body = body;
this->esync = NULL;
this->enclosinghandler = NULL;
// LLVMDC
this->llsync = NULL;
}
@@ -2876,6 +2877,7 @@ SynchronizedStatement::SynchronizedStatement(Loc loc, elem *esync, Statement *bo
this->exp = NULL;
this->body = body;
this->esync = esync;
this->enclosinghandler = NULL;
// LLVMDC
this->llsync = NULL;
}