Fixed a bug where the MC subtarget information

wasn't being initialized by the enhanced disassembler,
leading to assertion failures. 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135447 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Callanan 2011-07-19 00:00:41 +00:00
parent 88b976060a
commit c872143d6a

View File

@ -110,6 +110,7 @@ void EDDisassembler::initialize() {
InitializeAllTargets();
InitializeAllMCAsmInfos();
InitializeAllMCRegisterInfos();
InitializeAllMCSubtargetInfos();
InitializeAllAsmPrinters();
InitializeAllAsmParsers();
InitializeAllDisassemblers();