MS inline asm: Fix null SMLoc when 'ptr' is missing after dword & co
authorReid Kleckner <reid@kleckner.net>
Fri, 1 Aug 2014 00:59:22 +0000 (00:59 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 1 Aug 2014 00:59:22 +0000 (00:59 +0000)
commit21e23ab6f9e8d02eeee8695e750bfd4eb1054ddd
tree5c11353250858126e762b9031da60f59f6a5885c
parent17c8fefc9f89a60e4e26006d2dc7389d3e7b73e4
MS inline asm: Fix null SMLoc when 'ptr' is missing after dword & co

This improves the diagnostics from the regular assembler, but more
importantly it fixes an assertion when parsing inline assembly.  Test
landing in Clang.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmParser/X86AsmParser.cpp