Fixed a bug where the MC subtarget information

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

llvm-svn: 135447
This commit is contained in:
Sean Callanan 2011-07-19 00:00:41 +00:00
parent c1e40ddde2
commit 67bc18552a
1 changed files with 1 additions and 0 deletions

View File

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