X86 MC: Don't crash on empty memory operand parens
authorReid Kleckner <reid@kleckner.net>
Thu, 31 Jul 2014 23:26:35 +0000 (23:26 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 31 Jul 2014 23:26:35 +0000 (23:26 +0000)
commitb7e2f6015ae8fe44580ed242a0bca9c0001612ac
treecb01cea976dae0dad7d0ba3a31ab85a4316c40f9
parent0c5da97dd08c948da0867a02f3305a18316027ad
X86 MC: Don't crash on empty memory operand parens

Instead, create an absolute memory operand.

Fixes PR20504.

llvm-svn: 214457
llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/test/MC/X86/x86_operands.s