Initialize CurSection in constructor.

Not doing so causes some unittests to fail, because CurSection is uninitialized.

llvm-svn: 74442
This commit is contained in:
Torok Edwin 2009-06-29 19:59:10 +00:00
parent 7cbba368fb
commit 6fb3e98eed
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ namespace {
public:
MCAsmStreamer(MCContext &Context, raw_ostream &_OS)
: MCStreamer(Context), OS(_OS) {}
: MCStreamer(Context), OS(_OS), CurSection(0) {}
~MCAsmStreamer() {}
/// @name MCStreamer Interface