There's only 16 regs legal in a register list.

llvm-svn: 139637
This commit is contained in:
Jim Grosbach 2011-09-13 20:35:57 +00:00
parent e7e2aca322
commit e3a6a82f16
1 changed files with 1 additions and 1 deletions

View File

@ -1885,7 +1885,7 @@ parseRegisterList(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
// Read the rest of the registers in the list.
unsigned PrevRegNum = 0;
SmallVector<std::pair<unsigned, SMLoc>, 32> Registers;
SmallVector<std::pair<unsigned, SMLoc>, 16> Registers;
do {
bool IsRange = Parser.getTok().is(AsmToken::Minus);