don't forget to initialize an instance variable!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-01-20 20:48:59 +00:00
parent cf495bc2e5
commit 0e94facb5f

View File

@ -35,8 +35,8 @@ public:
MCAsmStreamer(MCContext &Context, raw_ostream &_OS, const MCAsmInfo &tai,
bool isLittleEndian, MCInstPrinter *_Printer,
MCCodeEmitter *_Emitter)
: MCStreamer(Context), OS(_OS), MAI(tai), InstPrinter(_Printer),
Emitter(_Emitter) {}
: MCStreamer(Context), OS(_OS), MAI(tai), IsLittleEndian(isLittleEndian),
InstPrinter(_Printer), Emitter(_Emitter) {}
~MCAsmStreamer() {}
bool isLittleEndian() const { return IsLittleEndian; }